Answer the question
In order to leave comments, you need to log in
Is it easy to migrate from XHTML to HTML 5?
Hey ! Now I'm going through a video course on website layout that uses XTML and CSS. There are a few questions that I hope to get answered here:
1. Is XHTML very different from HTML 5, and is it easy to switch from the first to the second?
2. Same question as above, only about CSS and CSS3.
Thanks for answers )
Answer the question
In order to leave comments, you need to log in
Below is a list of differences:
Changed syntax
Embedding SVG and MathML in text/html
New elements:
<article>, <aside>, <audio>, <canvas>, <command>, <datalist>, <details>, <embed>, <figcaption>, <figure>, <footer>, <header>, <hgroup>, <keygen>, <mark>, <meter>, <nav>, <output>, <progress>, <rp>, <rt>, <ruby>, <section>, <source>, <summary>, <time>, <video>, <wbr>
<acronym>, <applet>, <basefont>, <big>, <center>, <dir>, <font>, <frame>, <frameset>, <isindex>, <noframes>, <strike>, <tt>
Yes, it's easy . It's
even easier not to learn from old manuals when there are a lot of new ones.
Everything that worked in previous versions of HTML will work in HTML5. Unless browser developers throw them out, of course.
The question here is different. What for? HTML 5 is the lightest it can be, and so are styles. Why fill your head with old knowledge if everything that you are learning now has already been optimized, redone and "customized" to modern technologies? In general, the principle of operation, meanings, etc., of course, do not differ, it is still the same hypertext language. The only difficulty you may encounter is that some tags and attributes will not work, because in HTML 5 they are replaced or simply do not work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question