Тема
:
Статья на сайте и правильный код.
Показать сообщение отдельно
06.03.2011, 00:31
#
9
Borod
Постоялец
Пол:
Регистрация: 24.06.2006
Сообщений: 216
Репутация:
26
Re: Статья на сайте и правильный код.
1)
Цитата:
Сообщение от
errante
1. если у тебя таблица то теги р можно неиспользовать, достаточно прописать стиль для текста к ячейке
А если не таблица, так можно делать
Цитата:
<p>прогулочный двусторонний блок может устанавливаться на шасси в двух положениях: лицом к родителям и лицом к дороге;</p>
-подвеска с амортизацией на всех колесах;
<p>-запатентованный тормоз STOP&GO и пяти точечные ремни безопасности;</p>
или все таки лучше использовать тег </p>
2)
Цитата:
Сообщение от
errante
2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
После того как сменил <!DOCTYPE html> на <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> валидатор показал ошибки и в основном такие
Цитата:
<img src="http://kidi.com/images/product2.png" alt="АВС" style="display:none;"
/
>
- обратить внимание ( 99 warning(s))
и
target=
"_
blank"
- ошибка ( Errors)
Получается надо убирать все -
/
?
И как решить с target=
"_
blank" ?
3) Ошибка в скрипте ?
<
Цитата:
/script><script src="../jquery.transform-0.8.0.min.js"
>
</script>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
4) Ошибка в ролике с youtube? вообще всё не нравится ?!
Цитата:
http://www.youtube.com/v/eavxk-Q39pE?fs
&
h
l=ru_RU&fs=1&rel=0&color1=
0x1865C5&color2=
что пишет по поводу
h
An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.
If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
Последний раз редактировалось Borod; 06.03.2011 в
01:52
..
Borod
Посмотреть профиль
Отправить личное сообщение для Borod
Найти ещё сообщения от Borod
Время генерации страницы
0.02297
секунды с
10
запросами