ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

07-HTML Attributes

HTML attributes can customize a web page, they are like blueprint schematics that informs the browser how to provide an HTML element. After the process of an HTML tag, attributes serve as guides for the construction of web elements of the web browsers. Without these attributes in the HTML tags, the web browser will execute the HTML tags by default.

 

The responsible in customizing web elements is the HTML attributes. As you browse the web pages in the internet, you’ve probably seen a great mixture of  fonts, color schemes, and styles. All of these were because of HTML and CSS element attributes.

 

Example:

<h2 align="left">aligned on the left heading</h2>
<h2 align="center">aligned on the center heading</h2>
<h2 align="right">aligned on the right heading</h2>

Result:


aligned on the left heading

 

aligned on the center heading

 

aligned on the right heading

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!