Let's talk about code verification tools. A special tool that is created for this purpose is called a format validator. HTML will be used as an example. The validator for this markup language is quite suitable in order to explain the principle and give an example.
Why is it needed?
, , , . , , HTML-. , , , ( , ).
, , <!DOCTYPE>. , , . , HTML5. , . , HTML, CSS. . , , .
DOCTYPE
:
- .
- .
- .
- .
, DOCTYPE . , , , -. . , , .
. ? . , , โ . , , . , -.
, HTML- โ , , . RSS- CSS? , . : . โ . , , .
-
, -. ? (RSS-, CSS HTML). . HTML . -, , . , . , , .
?
:
- .
- . , . - โ .
- Document Type Definition. , (, ) , , .
- . , , Document Type Definition.
, โ . , . ? , . , ( , ).
, โ . , , -, . , โ . ?
, . , , , . , .
, , . . , , .
,
? , , . , , , โ . , . , , .
, . , Doctype, . , , . , . : . ARIA. , , . : ? , . โ . ARIA .
, , . , .