Translate This Blog
Remember To Always Back Up Your Template Before Attempting Any Of The Tweaks On This Site

HTML Tags

 What are HTML Tags?

HTML Tags are the basic building blocks to a web page. HTML Tags consist of angled brackets (<  >) which make up the elements or in-line styles of the web pages.

What are some rules to remember?

HTML must be properly closed with a start and end tag.  The first tag is called the Start Tag or Opening Tag and the last tag is called the End Tag or Closing Tag. The Closing Tag will have a  slash (/index.html) through it which acts as a punctuation to the HTML sentence. 

What are some commonly used tags?

This is just a list or the most commonly used HTML tags.
Start Tag: End Tag: Description:
<a> </a> Defines a anchor which can be used for links or to create a bookmark within a page
<b> </b> Renders as bold text
<backquote> </backquote> Defines a long quotation
<big> </big> Renders big text
<body> </body> Defines the document's body
<br> </br> Defines a line break. Close tag is needed only for XHTML
<button> </button> Defines a push button
<caption> </caption> Defines a table caption
<center> </center> Used to center text or objects
<code> </code> Defines computer code text
<col> </col> defines attribute values for one or more columns in a table
<div> </div> Defines a division or a section in an HTML document and is often used to group block-elements to format them with styles
<em> </em> Renders as emphasized text
<font> </font> Specifies the font face, font size, and font color of text
<form> </form> Used to create an HTML form for user input
<frame> </frame> defines one particular window (frame) within a frameset
<head> </head> Container for all the head elements in a html document
<h1><h2><h3><h4><h5><h6> </h1></h2></h3></h4></h5></h6> h1 defines the largest heading and the heading get smaller moving towards  h6 the smallest.
<html> </html> Declares to the browser that this is an HTML document
<i> </i> Renders as italic text
<iframe> /iframe> Defines an inline frame that contains another document
<img> /> Embeds an external image in an HTML page
<input> /> Used to select user information
label </label> Defines a label for an input element
<li> </li> Defines a list item
<menu> </menu> Used to create a list of menu choices
<object> </object> Used to include objects such as images, audio, videos, Java applets, ActiveX, PDF, and Flash
<ol> </ol> Used to create an ordered list (Number List)
<option> </option> Defines a option within a select list
<option> </option> Defines an option in a select list
<p> </p> Defines a paragraph
<pre> </pre> Defines preformatted text
<s> </s> Renders strikethrough text
<script> </script> Defines JavaScript code
<select> </select> Use to form a drop down list
<small> </small> Renders small text
<span> </span> Provides a way to add a hook to a part of a text or a part of a document but has no visual change by itself
<strong> </strong> Renders highlighted text
<sub> </sub> Defines a subscript in a text line
<sup> </sup> Defines a supscript in a text line
<style> </style> Used to define style information on a html document
<table> <table> used to define a table
<tbody> </tbody> Used to group the body content in an HTML table
<td> </td> defines a standard cell in an HTML table
<textarea> </textarea> defines a multi-line text input box
<th> </th> Used to define a HTML table header
<title> </title> Used to define a title of a HTML document
<tr> </tr> Defines a row in an HTML table
<tt> </tt> Renders Teletype text
<u> </u> Renders underlined text
<ul>. </ul> Defines an unordered list ( Bullet List)

0 comments:

Post a Comment

Please don't post hyperlinked text within the comment box! It will not be published and you will be marked as spam.

Web Design Blogs PageRank