HTML Basics - HTML Tags
HTML is a computer language, which is used to create websites. HTML consists of a variety of different HTML tags. But first, let's get the terminology straight:
What Is An HTML Tag
HTML is composed of labels or tags starting with a < (less than) and ending with a > (greater than) sign. This is what an HTML tag looks like:<tag>
What Is An Element
An HTML Element is a complete tag with an opening tag and a closing tag. This is what an HTML element looks like:<tag> the opening tag, content, closing tag</tag>
What Is An HTML Attribute
The attribute is used to further specify or customize an element or tag.More about HTML Attributes ...
HTML tags describe the appearance of an HTML document in the web browser. To look up the HTML tags or HTML code of a web site on the world-wide web, simply go to your web browser. In your browser window go to "View", click on "Source" or "Page Source" to view the source code of a website containing the HTML code, which will open in Notepad (Internet Explorer) or a browser window.
Here is a list of the most important basic HTML tags (title tag, meta tags, image tag, color tag and more ... ) starting at the top of an HTML document:The Doctype Tag
The Doctype (Docuement Type Declaration) tag is usually found in the very first line of an HTML document. The doctype tag gives the web browser basic information about the layout of the web page. This is what a doctype tag may look like:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
More about HTML DOCTYPE Tags...
The Title Tag (Title Element)
Although the title tag is not visible to the visitor of the website, the title tag is one of the most important HTML tags. Why? The title tag is used by most search engines and directories to display the title of a web page in their search results pages. The words contained in the title tag should describe the content of the web page just like a headline describes an article in a newspaper. The title tag is very important for the porcess of search engine optimization!<title>This Is The Title Tag</title>
The Meta Tags (Meta Element)
Meta tags are placed in the HEAD section of an HTML document and are very important for search engine optimization. The description meta tag (or element) allows web designers and webmasters to add a short description of the web page to the HTML document, and the keyword meta tag (element) allows us to add a list of keywords to the HTML page. Most search engines will consider the words contained within the description and keyword elements (meta tags) when determining your web page's search engine ranking.More about HTML Meta Tags ...
<meta name="keywords" content="keyword1, keyword2, keyword2, keyword4" /> <meta name="description" content="This is a short description of the web page" />
More Examples Of HTML Tags:
<body>This is a body tag</body> <p>This is a paragraph tag</p> <strong>This is a bold tag or strong tag</strong> <h1>This is a heading tag</h1> <li>This is a list tag</li>As mentioned above, some HTML tags require a closing tag while other's do not require a closing tag. Here are some examples of HTML tags, which do not require a closing tag:
<br /> <hr /> <embed /> <img />
!Note: According to XHTML standards HTML tags, elements, and attributes should always be written in lowercase!
More information about XHTML standards
For more information about HTML tags visit HTML references or select from the following list:
HTML Related Links
- How to Get a Web Site or Online Business Started
- CMS - Content Management System
- How to Choose and Register the Right Domain Name
- Making Revenue - How to Make Money With a Website
- Server and Hosting
© This Article is Copyrighted by WebmasterSeminar.com
Please do not copy or reproduce this article in whole or part, in any form, without mentioning the source and including a live link back to WebmasterSeminar.com - Thank You!LINK TO THIS TUTORIAL:
Copy the code below and paste into your web page
<a href="http://www.webmasterseminar.com/htmltags.php"> Webmaster Seminar - HTML Tags</a><br /> HTML Tags, Tutorials and HTML Resources