Basic Tags of HTML 5 | HTML Tags Definition and UsesÂ
Basic Tags of HTML 5
Basic Tags of HTML 5Â & HTML Tags Definition andÂ Uses: In this lecture, we are going to learn about some fundamental tags of HTML. Many tags are used to create a web page or website. There are some basic tags that important and must use to create the web page of any website. Some Fundamental tag’s structure of HTML that is used in every web pages.
What is the HTML Page Structure?
We will first see, What is the HTML Page Structure? Whole contents that are visible on the screen (Web Pages) nested between another tag. All the tags are rendered by the browser and then it’s displayed on the screen. The fundamental structure of HTML is given below.
Fundamental structure | Basic tags of HTML 5
<!DOCTYPE html> <html> <head> <title>MY Page</title> </head> <body> MY name is ABDUL JABBAR. you can learn everythings from my website </body> </html>[mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#81d742″ txt_color=”#ffffff”]Note: Every tagÂ can performÂ some different computation to generate output that is understandable by the browser. Every tag’s explanation is described below.[/mks_pullquote]
HTML Tags Definition and Uses
The DOCTYPE declaration has specified the document to be HTML. The DOCTYPE declaration is not case Sensitive all cases are acceptable. The syntax of DOCTYPE tag is:
The text between <html> and </html> tags describe an HTML document. Syntax is
<html> â€¦â€¦â€¦Â </html>
HTML document contain two different section
The text between head tags provides information about the document. Like we are using title tags inside the head tags that contains the title of the documents. We also use script tags inside the Head tags. The syntax of head tags is
The text between <body> and </body> describe the visible page contents.Â <body> tags define the main content of the HTML document or the section of the HTML document that will be directly visible on your web browser. Inside body tag we used different tags that perform the different activities like h1 or h2 tag is used to take the heading of any section. Syntax is
There are different heading tags like that is used to take a heading of any section. Basically, six basic heading tags are
<h1>Heading One</h1> <h2>Heading Two</h2> <h3>Heading three</h3> â€¦â€¦ <h6> Heading Six</h6>
The HTML paragraph <p> Tags represents a paragraph of text. The browser automatically adds some space (margin) before and after the Paragraph<p> Element. And <br> tag is used to break the line within the paragraph. A paragraph is also used to write any Description and Details of any object or things. Syntax is
[mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#e0ea6e” txt_color=”#000000″]I hope you will enjoy it and it is very helpful for understanding the “Basic Tags of HTML 5 | HTML Tags Definition and Uses”. In the next lecture, we will discuss HTML Elements.