HTML Course

By Ifeanyi Onuama

<--Back to main Page

Setting up your HTML

Before we begin writing code: I advise you getting a code editor such as visual studio code because it can correct errors and it formats your code so that it's easier to read: or you can use notepad or textedit on mac. It'll be harder because you have to format the code by yourself: but it's good if you want to learn how to format html.
Click here to download Visual studio Code

Beginning the Code

To begin HTML Code: you must always start with <!DOCTYPE HTML> Then you must use the <html> tag
This tells the code that your starting the html: then you use the <title> tag to name your Page
after this you can create a Page Title (On the page) with the <h1> tags. When ending a tag, you must always use a /:
Example code:

Example

More, More and More tags

Here are some more useful tags:
<h1> to <h6>: the smallest font size to largest
<br>: a tag used to create a new line
<b>: a tag used to make things bold
<u>: a tag used to underline text