what is the meaning of xhtml and semantics html.. and how do i use them | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

what is the meaning of xhtml and semantics html.. and how do i use them

need help on xhtml and semantics html

27th Feb 2019, 5:24 AM
MUGENYI STEVEN
7 Answers
28th Feb 2019, 1:42 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 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.
27th Feb 2019, 6:00 AM
Rowsej
Rowsej - avatar
+ 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.
28th Feb 2019, 1:37 AM
Sonic
Sonic - avatar
+ 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.
1st Mar 2019, 12:43 AM
Logomonic Learning
Logomonic Learning - avatar
+ 2
thanx much
27th Feb 2019, 5:11 PM
MUGENYI STEVEN
+ 1
W3c.org probably can give you most autoritive answer
28th Feb 2019, 6:25 PM
Дов Машле
Дов Машле - avatar
+ 1
ohk thnx
28th Feb 2019, 7:01 PM
MUGENYI STEVEN