+ 6
what is the meaning of xhtml and semantics html.. and how do i use them
need help on xhtml and semantics html
7 Antworten
+ 8
Read this article:
https://en.m.wikipedia.org/wiki/XHTML?wprov=sfla1
+ 7
Semantical HTML is HTML split up into sections. E.g. <article>, <aside>, <footer>, etc.
XHTML is eXtensible HTML. If I’m correct, it supports custom tags (like XML) but has stricter parsing. In HTML, the rowsers try to overcome the parsing errors in your code, but in XHTML, it will show an error message on the page.
+ 7
I think XHTML is a standard where the html has to conform to the XML format. For example if you use a <br/> tag it needs the '/' to indicate that it is an empty element. I.e. <br> is not allowed under XHTML.
+ 4
html=hypertext markup language.
xml=extensible markup language used to create data tags. and xsl which manipulates and transfers data.
xhtml is html which incorporates xml, and thus allows you to create custom tags.
as a side note, xml can be contrasted with json =javascript object notation which is more popular.
you should also know that svg(scalable vector graphic) is a branch of xml.
+ 2
thanx much
+ 1
W3c.org probably can give you most autoritive answer
+ 1
ohk thnx