Kids Coding: Basic HTML | Header Tags

Learn CodingAssalamu’alaikum,

Please click here to read our previous HTML tutorial (setting up an HTML document and inserting a paragraph). In this tutorial, I’ll show you how to add a title to a paragraph.

Normally, when you make a paragraph, you need to add a tittle or a subtitle. To do that, you can insert a header tag. There are 6 types of header tags. They are defined with the <h1> to <h6> tags. <h1> defines the most important header while <h6> defines the least important header. Please see picture below for details. header tags1 You can modify the headings above using <u> and <i> tags. Please note that you can’t use <b> tag to modify them because by default, browsers will read the <h1> to <h6> texts to view on your page as bold. header tags2 Sample of a paragraph with title. header tags3Jazaakumullahu Khairan,

Wassalamu’alaikum.

RI sign

 

About

My name is Rahmah, I'm originally from Indonesia but currently live in the UK. My educational background is in Electrical Engineering. If you like my blog, please press Ctrl+D to bookmark my page and check What’s new at Rahmah Muslim Homeschool.

Leave a Reply

Your email address will not be published. Required fields are marked *