Html tags are opened like this <strong> and closed like this </strong>.
Each HTML tag describes different document content.
<html> </html>
Defines the beginning and the end of an HTML document.
<head> </head>
defines the heading of a html document, especially the link to the style sheet.
<body> </body>
Defines the document's body, which is the core of the web page.
<header> </header>
Defines the top of the web page, especially the title and a menu.
<ul> </ul>
Defines an unordonated list.
<ol> </ol>
Defines an ordonated list.
<li> </li>
Entries (lines) inside an ordonated or unordonated list.
<p> </p>
Defines a section.
<strong> </strong>
Defines important text.
<table> </table>
Defines a table.
<h1></h1> ... <h6></h6>
Defines titles and subtitles, <h1>
is the largest and <h6>
the smallest.
<img src="URL" alt="text">
Defines an image, 2 required attributes:
- src is the image's URL
- alt is the alternative text
<a href="URL"></a>
Defines a hyperlink to link a web page to another.
the href
attribute is required and indicates the link's destination.
<form> </form>
Defines a form.
<title> </title>
Defines the document's title.
<div> </div>
Defines a division or a section in an HTML document.
<article> </article>
Defines independent, self-contained content.
<button> </button>
Defines a clickable button.
<main> </main>
Defines the main content of the document.
<input>
Used within a <form>
it specifies an input field where the user can enter data.
<!DOCTYPE>
Defines the document type
<!-- ... -->
Defines a comment
<audio>
Defines audio content
<footer>
Defines a section's footer or a html document's footer
<q>
Defines a quote
<section>
Defines a section in the document
<tr>
Defines a table row
<td>
Defines a table cell
<video>
Defines video content
<link>
Link the html document to an external ressource (like a stylesheet)
<menu>
Defines a list or a menu
<span>
tag used for applying differents styles to inline elements in the document