0 elements are invalid, 1 or more elements are valid
! - W3 Validator.
, XHTML, !
:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Doc title</title>
<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" />
<meta http-equiv="content-style-type" content="text/css" />
</head>
<body>
<div>
<h3>List with no items</h3>
<ul>
</ul>
<h3>List with one item</h3>
<ul>
<li>Only one</li>
</ul>
<h3>List with two items</h3>
<ul>
<li>One</li>
<li>Two</li>
</ul>
</div>
</body>
</html>
:
: 1
15, 5: "ul",
</ >
, . e < > < & EM GT;... </ > , <em> <p> . : < > < & EM GT;... </& GT; </ >
, , , . , " ", . , HTML , (ul, ol, dl) (li, dt, dd) ..
, , "you used an element which requires a child element that you did not include"
!