HTML, please give me feedback |
HTML, please give me feedback |
deb1 |
Oct 14 2020, 10:46 AM
Post
#1
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
hello,
I have a few questions . If someone can answer it for me that would be greatly appreciated. 1) I know that CSS is used for styling html page but can you please tell me what XHTML is used for ? 2) In html what is iframe used for ? |
pandy |
Oct 14 2020, 10:59 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
XHTML is discontinued (even if it still can be used), so no need to bother with that. I guess one can say it was an attempt to get pages to use cleaner markup, but that never came off and as it was used it was basically the same as HTML with a little different syntax. It was possible to serve the same tag soup as before, the very thing XHTML was meant to put a stop to.
XHTML looks just like HTML with a few additions. An IFRAME is a way to load another document in an embedded frame inside the current document. Nowadays it's mainly used for ads where JavaScript writes the iframe and loads the ad in it. You can see an example at this site's front page, https://htmlhelp.com/. The rectangle with a blue border is an iframe written by JS, but no ad seems to be loading so it's empty. https://htmlhelp.com/reference/html40/special/iframe.html |
deb1 |
Oct 14 2020, 11:32 AM
Post
#3
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
XHTML is discontinued (even if it still can be used), so no need to bother with that. I guess one can say it was an attempt to get pages to use cleaner markup, but that never came off and as it was used it was basically the same as HTML with a little different syntax. It was possible to serve the same tag soup as before, the very thing XHTML was meant to put a stop to. XHTML looks just like HTML with a few additions. An IFRAME is a way to load another document in an embedded frame inside the current document. Nowadays it's mainly used for ads where JavaScript writes the iframe and loads the ad in it. You can see an example at this site's front page, https://htmlhelp.com/. The rectangle with a blue border is an iframe written by JS, but no ad seems to be loading so it's empty. https://htmlhelp.com/reference/html40/special/iframe.html so are you sayng that these days people don't use XHTML ? |
pandy |
Oct 14 2020, 11:38 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Guess some cling to it, but there is no reason to use it anymore, it never was really, or for someone new to HTML to learn it.
|
deb1 |
Oct 14 2020, 12:02 PM
Post
#5
|
Advanced Member Group: Members Posts: 109 Joined: 7-May 20 Member No.: 27,330 |
|
Lo-Fi Version | Time is now: 19th April 2024 - 10:09 PM |