Skip to content

Instantly share code, notes, and snippets.


codecademydev/index.html Secret

Created Aug 17, 2020
What would you like to do?
Codecademy export
<!DOCTYPE html>
<title>Semantic HTML Reaference</title>
<link href="./styles.css" type="text/css" rel="stylesheet">
<h1>Semantic HTML Reference</h1>
<h3> HTML Tags</h3>
<td class= "tags">&lt;header&gt;</td>
<td><p>This is a container usually for either navigational links or introductory content</p></td>
<td class= "tags">&lt;nav&gt;</td>
<td><strong>nav</strong> is used to define a block of navigation links. It can be used inside of the &lt;header&gt; element but can also be used on its own</td>
<td class= "tags">&lt;main&gt;</td>
<td>This element is used to encaspulate the dominant content within a webpage</td>
<td class= "tags">&lt;footer&gt;</td>
<td> Footer</td>
<td>This is the content at the bottom of the webpage, it contains information such as; contact information, copyright information, terms of use etc.</td>
<td class= "tags">&lt;section&gt;</td>
<td>This defines elements in a document such as chapters, headings or any other area of the document with the same theme.</td>
<td class= "tags">&lt;article&gt;</td>
<td> This element holds content that makes sense on its own. It can hold content such as articles, blogs, comments, magazines etc.</td>
table, td {
border: 1px solid black;
background-color: lightGray;
font-family: "sans serif";
thead {
background-color: Purple;
font-family: verdana;
h1 {
font-family: verdana;
font-weight: bold;
font-size: 13px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment