ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

03-HTML Tags

An HTML document is read by a web browser from left to right, top to bottom. Every time the browser recognize a tag, the tag is provided accordingly. Title tags provide title, paragraph tags provide paragraph text and many more. When you add tags to an HTML document, you are not just coding HTML, but also giving signal to display the given tags in the browser.

 

Can you still remember the three major parts of HTML Elements? The opening tag, the content and the closing tag. In addition, forms, lists, tables and links are included in the infinite combinations of HTML tags/elements.

 

Example:

 

<tag>content....</tag>
<p>a paragraph text.....</p>

 

Take note that tags must be written in lowercase letters.

 

There are also some elements that do not need a closing tag.However, they still have an opening, a content and a closing but they are combined into one tag. The reason behind it, is that these tags don’t need any content to be put within them, but there are time that it require attributes like a source URLs for images.

 

Example:

<br/>

<img src="url of the image" alt="" />
Facebook Comments

Check Your Domain Ranking

Leave a Reply

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

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!