Переписываю вопрос, кто знает HTML

Переписываю вопрос, кто знает HTMLТо что получается в результате - то что и просит учитель. Но надо сперва все проверить в валидаторе. Проверяю. Указывает на ошибки. Не могу понять какие. Так как результат устраивает, точь в точь как на картинке книги как просит учитель. Что не так? Подскажите. Тест уже сегодня. Кстати тут валидатор. http://validator.w3.org/ <body> <h1>Lists</h1> <p> Internet World Stats reports Asia has more Internet users than any other continent but still has a long way to go. It ranked first with 704 million users, but that is only 18 percent of its 3.8 billion population.</p> <ol> <li>Population in Africa in 2006 <li>Population of Asia in 2006 <li>Population of Europe in 2006 </ol> <p>Sometimes the Internet can be fun. With the belief you should learn something new every day, I went to the World Wide Web Monday and typed in weird, obscure and strange facts and spent some time delving through the results. <ul></p> <li>Number of internet users in Africa <li>Number of internet users in Asia <li>Number of internet users in Europe <li>Delightful Internet tid-bits </ul>
Гость
Ответ(ы) на вопрос:
Гость
Убери <p> и </p> Вот так должно быть правильно: <body> <h1>Lists</h1> <p>Internet World Stats reports Asia has more Internet users than any other continent but still has a long way to go. It ranked first with 704 million users, but that is only 18 percent of its 3.8 billion population.</p> <ol> <li>Population in Africa in 2006 <li>Population of Asia in 2006 <li>Population of Europe in 2006 </ol> <p>Sometimes the Internet can be fun. With the belief you should learn something new every day, I went to the World Wide Web Monday and typed in weird, obscure and strange facts and spent some time delving through the results.</p> <ul> <li>Number of internet users in Africa <li>Number of internet users in Asia <li>Number of internet users in Europe <li>Delightful Internet tid-bits </ul> Ругается только на то что нет декларации документа
Гость
Теги не должны пересекаться (это не допустимо по стандарту) . Т. о. вот этот участок не верен <p>Sometimes the Internet can be fun. With the belief you should learn something new every day, I went to the World Wide Web Monday and typed in weird, obscure and strange facts and spent some time delving through the results. <ul></p> Нужно поменять местами <ul> и </p>
Гость
для такого кода валидатор не нужон он нужен если использовать css
Не нашли ответ?
Ответить на вопрос
Похожие вопросы