...">

HTML5 and correctness

I look in HTML5 and I am puzzled by why this is so easy in a good way.

<div id="main">  
<DIV ID="main">  
<DIV id=main>

are valid and give the same result. I thought that with XHTML we switched to XML-compatible code at no cost (I don't consider closing tags as cost!). The HTML5 specification will now be written by lazy encoders and / or anarchists. The result of this is that from the very beginning of HTML5 we have two versions: HTML5 and XML compatible XHTML5. Do you consider it an asset if C suddenly allowed you to write a construct for the following methods?

for(i = 0; i < 10; i++) {  
for(i = o; i < 1o; i++) {  // you can use "o" instead of "0"  
for(i = 0, i < 10, i++) {  // commas instead of semicolons are alright!  

Frankly, as an XHTML encoder, since many moons, I feel a little offended by the HTML5 specification.
Vadya is thinking?
Stephen


"wadya": , , "wadya", " "?: -)

+3
5

HTML 5 - XML, XHTML.

HTML , , , HTML-.

XHTML , . HTML/XHTML , WHATWG, HTML XML HTML 5.

XML , HTML, HTML- XML. , , , XML-.

+7

HTML , . HTML , . , HTML , . , HTML . -.

HTML -. - , , . - HTML. HTML, SGML , HTML.

- HTML HTML . . , , . - HTML. , , , , . , . HTML , SGML, - , , .

, , , . , - . , , . - , . 90- , , . , . . -, , , , , .

http://en.wikipedia.org/wiki/Dot-com_bubble

. , -, . , . , World Wide Web (W3C). . , , , , . HTML 2 ( HTML), HTML 3 HTML 4 .

W3C XML, HTML. XML , SGML . , . XML Microsoft IBM. XML , HTML XML . , XML, XML- .

XML Schema , . HTML XML-, (DOM). , DOM API JavaScript HTML, DOM, W3C, JavaScript. , , HTML, XML- HTML. XHTML. , HTML XHTML .

, . , -, - W3C, . Netscape, IE Opera. Opera , , Netscape . , IE Microsoft IE. IE , Firefox Opera .

, , W3C XHTML2. XHTML2 XHTML1, . W3C , HTML , . , XHTML2 . , HTML XHTML XHTML2 .

, , , . . , . . XHTML, XHTML2, . XHTML2 . , HTML . WHATWG .

THE WHATWG , , , , , . WHATWG , . , , .

- -, - . -, , , -, . . , JavaScript ? , Google, -, JavaScript. 20-30 , . JavaScript , , Google.

HTML5 - , . , , , , . 5 - . , , - , , . .

HTML - . .

+4

.

, HTML ; , DiV Div.

HTML - , , .

, ; . - HTML- " " ; , .

+1

, , , , .

XHTML , , MSIE (, HTML, text/html, ).

0

, . " ". , - . " ", , , HTML5 , - XHTML5.

0

Source: https://habr.com/ru/post/1761901/


All Articles