Here we are going to learn some basics HTML tags. HTML is the building block for web pages. The most usable tags in HTML document are the headings, paragraphs, line breaks, anchor, and image etc.
There are the following basics HTML tags.
Example
Example
<!DOCTYPE html>
<html>
<head>
<title>This is document title.</title>
</head>
<body>
<h1> This is a heading</h1>
<p>Paragraph -Document description goes here......</p>
</body>
</html>
Note: In the above example, we have used html Basics Tags with HTML 5 Doct Type and in the entire HTML Tutorial.
Tags
<html>...</html> - This is a container tag. The opening tag and closing tag tells your browser that this is the start and end of an HTML document.
<head>...</head> - The head tag is used for adding the header information and contents to the HTML document. The information between the </head> tag and the </head> tag is header information. The header information is not displayed in the browser.
<title>...</title> - The text between the TITLE tags is the title of your document and It will display in browser title bar.
<body>...</body> - This tag specifies the start of the body of the page and tells the browser about the body part that is the display part of an HTML document.
<a>...</a> - This tag is used for creating a hyperlink in a web page and addressed to another web page.
<P>...</p> - . The paragraph tags are used to specify a block of text as a paragraph in web page
<img.../> - This tag is used to include a image in the web page. It is known as Image tag.
<h1>...</h1> - This tag is used to specify a heading in a web page. It is known as Heading tag.
Note: The HTML pages or document should always have an <html> tag along with a <head> tag and a <body> tag.
HTML Paragraphs Example
Example 1
<P>
Bulls will be busy with daily tasks, travel, and talking on the phone to family and friends. It’s a big week as both Mercury and Venus go retrograde. On the 3rd, attractive Venus, your life-ruler, starts her second retrograde phase in romantic Pisces your 11th solar house.
</p>
Read More.......
HTML Links Example
Example 1
<a href="index.html"> Click Here </a>
Read More.......
HTML Images Example
Example 1
<img src="banner.jpg" alt="Banner Image" />
Read More.......
HTML Headings Example
Example 1
<h1> Welcome to the Htmlreaders </h1>
<h2> Welcome to the Htmlreaders </h2>
Read More.......