D
D
Dmitry2016-07-17 01:55:21
css
Dmitry, 2016-07-17 01:55:21

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

5 answer(s)
A
A person from Kazakhstan, 2016-07-17
@kunufar

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>

New input components: date/time, email, url, search, number, range, tel, color
New attributes: charset (in ), async (in script)
Global attributes that can be applied to all elements: id, tabindex, hidden , data-* (custom data attributes)
Elements to be excluded:
<acronym>, <applet>, <basefont>, <big>, <center>, <dir>, <font>, <frame>, <frameset>, <isindex>, <noframes>, <strike>, <tt>

S
sim3x, 2016-07-17
@sim3x

Yes, it's easy . It's
even easier not to learn from old manuals when there are a lot of new ones.

S
SagePtr, 2016-07-17
@SagePtr

Everything that worked in previous versions of HTML will work in HTML5. Unless browser developers throw them out, of course.

C
Chronic 86, 2016-07-18
@chronic86

You can see the tag differences here htmlbook.ru/html/valid

D
Daria, 2018-12-27
@Dasha_2017

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 question

Ask a Question

731 491 924 answers to any question