Help - Search - Members - Calendar
Full Version: HTML
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
deb1
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
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
QUOTE(pandy @ Oct 14 2020, 10:59 AM) *

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
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
QUOTE(pandy @ Oct 14 2020, 11:38 AM) *

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.



ok. understood . thank you
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.