Internet
Fact-checked

At EasyTechJunkie, we're committed to delivering accurate, trustworthy information. Our expert-authored content is rigorously fact-checked and sourced from credible authorities. Discover how we uphold the highest standards in providing you with reliable knowledge.

Learn more...

What Are the Different Types of HTML Commands?

G. Wiesen
G. Wiesen

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.

A "contact us" link on a webpage is visible due the coding of an HTML command.
A "contact us" link on a webpage is visible due the coding of an HTML command.

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.

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.
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.

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.

Discuss this Article

Post your comments
Login:
Forgot password?
Register:
    • A "contact us" link on a webpage is visible due the coding of an HTML command.
      By: Nikolai Sorokin
      A "contact us" link on a webpage is visible due the coding of an HTML command.
    • 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.
      By: spaxiax
      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.