+ 1
How to use iframe tag in web coding in this app?
Is this possible or not to do this in this app?
28 odpowiedzi
+ 8
Here is the solution for those interested and following this thread
https://code.sololearn.com/WkD37ZTZbSjH/?ref=app
Shaurya Yadav Mûhãmmëd💡🚁🏇🏆 AJ Anant Tanmay Gupta[Activated]
+ 6
Here is an example of an iframe of SoloLearn website https://code.sololearn.com/W60N5SUxwHc5/?ref=app
+ 5
Here one more example for how to use iframe.
https://code.sololearn.com/WSLKKLTpzLXw/?ref=app
+ 4
<iframe src="https://www.google.com" style="width:100% height:100%">Google</iframe>
Shaurya Yadav
+ 4
Use <iframe src="#web_name"></iframe>
FOR GOOGLE THE SYNTAX IS "www.google.com"
+ 4
Change the CSS property also like margin and padding of the output screen
+ 4
Shaurya Yadav Make your code for public to enable us to make comments
The errors in your code
You must put the word style before using width or height
And after the word width or heught you must put colon(:) not equal assign
Like this example 👇👇
<iframe src="https://www.google.com" style="width:100% height:100%">Google</iframe>
I will fix it and put the code for u
+ 4
Shaurya Yadav
Show this link to solve the problem that prevent u to disply your website in iframe tag👇👇
https://stackoverflow.com/questions/41522652/refused-to-display-url-in-a-frame-because-it-set-x-frame-options-to-sameori
+ 3
<iframe src="your website link "> website name </iframe>
https://code.sololearn.com/WTV00tDfmvY0/?ref=app
+ 3
BroFar
I edit my comment and give him an example
Thanks
+ 3
Copy my comment and use it , this link working with me
Shaurya Yadav
+ 3
Please read the following thread from stackoverflow as it will explain why you are having problems
https://stackoverflow.com/questions/8700636/how-to-show-google-com-in-an-iframe
+ 3
Welcome
Shaurya Yadav
+ 3
This is other example about iframe :
https://code.sololearn.com/Wnn69thYYIX7/?ref=app
+ 3
This is your after change it👇👇
https://code.sololearn.com/W33nKgTdNqh4/?ref=app
+ 3
Mûhãmmëd💡🚁🏇🏆 useful .. thanks
+ 3
You're welcome Olivia 👌👍🌸
+ 2
Why google.com is not working. Give Syntex of google site.
+ 2
This is not working bro can you try it for my satisfaction.
+ 2
I got it Thanku sir.