Sei sulla pagina 1di 2

Paragraph

Heading

Bold

Nesting

Comments

Declaration
<tagname> content </tagname>

<p> Some content </p>

<h#> ... </h#> with # ∈ [1, ..., 6]

<strong></strong>

the start and end tag of the child element must always stay inside the parent element

<!--This is a comment-->

HTML documents usually consist of four main parts: The document declaration, the HTML element, the hea

<!DOCTYPE HTML>

<html> ... </html>

<head>
<title>Title of the html document</title>
...
</head>

<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
...
</body>

Potrebbero piacerti anche