Category: 

What Are the Different Types of HTML Commands?

HTML commands typically take the form of tags that are used to indicate to the web browser viewing the page how to display certain elements of it.
A "contact us" link on a webpage is visible due the coding of an HTML command.
Article Details
  • Written By: G. Wiesen
  • Edited By: Shereen Skola
  • Last Modified Date: 26 October 2014
  • Copyright Protected:
    2003-2014
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Waking up in the middle of the night is normal for humans.  more...

October 31 ,  1984 :  Indira Gandhi, Prime Minister of India, was assassinated.  more...

When someone uses Hypertext Markup Language (HTML) to create a website, he or she can use a number of different HTML commands to add various elements to it. Some of the most common types of commands are those that can create, edit, and alter the way in which text appears on a page. There are also a number of tags and coding methods that can be used to place images, videos, and audio onto a page for playback by a viewer. Other HTML commands can be used to add links to a page allowing users to navigate between websites more easily.

HTML commands typically take the form of tags that are used to indicate to the web browser viewing the page how to display certain elements of it. These tags are created in pairs that surround the content on a page. They are created within angle brackets and often use particular codes to indicate different commands. One tag might begin with and then include the content of the command before ending with in which the slash indicates an end tag.

Ad

Some of the most common HTML commands are those that are used to indicate the main content of a website and to alter text upon it. This is usually done through one tag that indicates that the entire text is an HTML document, as well as tags for titles, the header for a page, and the body of a webpage. There are also a number of HTML commands that can be used to create different types of text on a webpage. This includes tags to italicize text as well as code to make certain words bold.

Many HTML commands can be used to embed images, videos, and other media onto a webpage. These tags are used to not only indicate what image should be used on a site, but also how the picture should be sized and placed on the page. Some of these commands can achieve different results, such as setting background images, creating thumbnails that can be used to view larger images, and setting audio to play automatically when a page is viewed. Video files such as short movies and animations can also be displayed through HTML commands that indicate the size of the video and its placement on the page.

Links are typically added to a website through various tags and commands, which can be used to create these links in different ways. Simple links can be pasted onto a page, while many webpage designers prefer to embed links within lines of text or images that can be clicked by a viewer to navigate to the linked page. HTML commands can also be used to create lists and other graphical elements on a page. This includes the creation of charts and tables on a page, as well as simple borders that can separate content on a page.

Ad

More from Wisegeek

You might also Like

Discuss this Article

Post your comments

Post Anonymously

Login

username
password
forgot password?

Register

username
password
confirm
email