Tools of the Trade

Lesson 4: Basic HTML Codes

Each of these HTML tags are elements and any information aside from the element name in the format of something="something" is an attribute.

HTML Codes


Anything inside here is invisible on your website
But they will be able to see it if you right click and go to "View page source"


<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>


<p>This is my paragraph.</p>


This is a line of text.
<br />
This is another line of text.


<img src="html-logo.png" title="HTML Logo" style="border:1px solid black;">

Sample HTML

Download Sample HTML (ZIP)

Resources List of HTML Tags