All about programming :)

Monday, November 9, 2020

HTML heading

 

HTML headings are the subtitles or titles that you want to display on your webpage. The use of headings and subheadings in any document often reflects a hierarchy of information. There are 6 heading tags which we generally use in our webpage. Obviously each tag has also closing tag. Each heading tag has different font size, font weight and things like that. There is a paragraph tag "p" which we use to write any paragraph or something like that. Paragraph will always starts from a new line and browser will automatically add some margin before and after paragraph.
 Now take a look how we will write it in code. Basically HTML code is made up of some characters in the angled brackets, that are known are HTML elements. Each HTML element consist of closing and opening tags. Each HTML element has some specific information for browser between opening and closing tags. Hope you will get used to them.


Above code output:


Hope so you can understand this code. Best of luck. 

No comments:

Post a Comment

Structure of HTML code

  Here we will learn about the basic syntax of HTML code. So the basic syntax of HTML code is...                                            ...