Html

All HTML characters. By category and by code

This is a great way to get acquainted with html website. htmlbook.ru

Indissoluble gap -  
«nbsp» stands for "non-breaking space" Do not forget about the semicolon after nbsp and about the fact that the tag <br> Now it is not fashionable to write as </br> and
Cell combinations in the table: colspan and rowspan

Retreat within a single cell

style="padding-left:2%; padding-right: 1%;"

No red line.

p style="text-indent: 0;"

And all together:

<p style="padding-left:2%; padding-right: 1%; text-indent: 0;">

Retreat for the whole table

cellspacing="0" cellpadding="0"

Emphasizing text in HTML:

Tag uIt does not carry an additional semantic load.

Tag ins highlights the text added to the new version of the document and is usually emphasized browser.

Tag a creates a link.

Crossed text in HTML:

Tags. s and strike They do not carry additional semantic load. Locked in HTML 5

Tag del highlights the text deleted from the new version of the document and is usually crossed out browser.

Validation of HTML

Online validator w3.org

Html validator built into firefox can be installed here

W3C Recommendations

here

Lists ol and ul should not be placed inside paragraphs p

Stretching video

<div style="position:relative;height:0;padding-bottom:56.25%">
<iframe width="720" height="405" src="http://rutube.ru/video/embed/6262341" webkitAllowFullScreen mozallowfullscreen style="position:absolute;width:100%;height:100%;left:0" allowfullscreen>
</iframe>
</div>

Colors.

Name of color HEX RGB
#D43F3F Text
#502542 Text
#F0F8FF Text
#002f6c Text

MathML

A note for me.

<!-- 010_header -->
<!DOCTYPE HTML>
<html>
<head>
<!-- 010_header ends -->
<!-- 020_header_2_level -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<div id="container">
<?php include("yandex_search_form.php"); ?>
<!-- 020_header_2_level ends-->
<!-- 080_counter -->
<!-- 080_counter ends-->
<!-- 085_ads -->
<!-- 085_ads ends-->
<!-- 090_bottom -->
</div>
</body>
</html>
<!-- 090_bottom ends-->

Errors

Table cell overlaps an earlier table cell

Article author: Andrei Olegovich