How to Make A Quick HTML Webpage (Part 2)

Hey! This article is a continuation of the previous one. If you haven't seen it yet, click here.
Anyways, last time we learnt how to make your own webpage, write in paragraphs, bold and increase your text and add pictures. Last time I forgot to explain how to change size in your text. Its pretty simple. <h1> is the biggest font size, <h2> is slightly smaller, <h3> is smaller and so on till <h6> which is minuscule.
Today is a smaller lesson than last time's, its how to change the background colour and use a feature that is a counterpart of the key "enter" on our keyboards.



How to change your background colour
Now, I'm going to be using the same notepad page as last time. That means I'm going to tweak last time's code and add a colored background to it.

As you can see, I have opened the <body> tag. Now Bring your cursor between "body" and ">" and add a space. Write there "bgcolor=". Its imperative that you don't add a space between them and that you write "color" not colour. If you do, the code will fail.

Now you can add any colour you want but make sure you use it under quotation marks ("")

How to change the line of your text (ENTER KEY for HTML)
This is pretty easy. if you can see in the pic above between "xyz" and "A paragraph" I have added something called <br>. This is called line break. So, it changes the line where the text is typed form "A paragraph".



Hope you guys enjoyed. Please stay tuned for more content. Showing you my final result - 


Comments