What are HTML Tags?

Article Details
  • Written By: R. Kayne
  • Edited By: O. Wallace
  • Images By: See-Ming Lee, Nikolai Sorokin, Spaxiax
  • Last Modified Date: 03 October 2019
  • Copyright Protected:
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
There is a railway line in the hills above Budapest, Hungary, that has been operated by children for over 70 years,  more...

October 13 ,  1943 :  In a major turn of events in World War II, Italy declared war on Germany.  more...

HTML is short for Hypertext Markup Language, the text-based language used to write Web pages. HTML tags are coding instructions embedded in the HTML document. A Web browser is designed to read the instructions, or tags, in order to render the page graphically. In other words, a Web browser translates these tags into visual effects that mold the way an HTML document looks to the viewer.

The simplest HTML tags arrange text into blocks, designate the font or letter-style, and size of the type. Bold, italic and underline are each identified within an tag that precedes the letter or word(s) to be effected. The tag appears again at the end of the chosen text with a slash to indicate the effect ends there. For example, see how the following sentence appears in HTML:

HTML tags are the core of Hypertext Markup Language. <b>HTML tags</b> are the core of Hypertext Markup Language.

The “b” stands for bold and HTML tags are always enclosed in angled brackets, with the closing tag starting with a forward slash. If the forward slash is forgotten, the remainder of the page will assume the effect.


In addition to changing fonts, tags also create hyperlinks, or clickable text. The hyperlink tag includes an embedded website address (URL or Uniform Resource Locator). By placing a hyperlink tag around a phrase or name, clicking on it will take the surfer to the desired address. This can be a remote website or another page within the same website.

HTML tags can also be used to take a surfer to another spot within the same page. This is handy for Frequently Asked Questions (FAQs) or indexes that reside on a single page. By clicking on a question or an indexed subject, the visitor can jet to the exact information he or she needs without paging down through the entire document.

Other tags embed graphics, movies, sound effects, animation or Flash scripts in webpages. Frames, borders, background and page layouts are also designated by HTML.

On websites with multiple pages there are often characteristics the webmaster wants to repeat on each page. These might include the font type, website colors, background and text blocking or layout. Rather than repeat these tags on every page, HTML allows for a bit of code at the top of each page that points the browser to a master style sheet which contains the HTML tags that apply. A master style sheet is known as Cascading Style Sheet (CSS) because its effects can “cascade” across several pages.

In the middle 1990s when the Internet switched from a text-based environment to a graphical environment, thanks to HTML and Web browsers that interpreted the language, the only way to create a website was to manually code the pages using HTML tags and a text-based editor. Shortly HTML editors became available that did a lot of the coding for the user, making it easy for anyone to create a basic website. Today, ready-made scripts and forms can be embedded with a click, allowing anyone with basic needs to be their own webmaster.


You might also Like


Discuss this Article

Post 10

@scienceguy34: Actually, it's a templating language.

Post 4

I was never familiar with HTML tags or coding at all until I started using social networks like Myspace and Facebook. Even if it is simple coding, many people are becoming more accustomed to using simple tags that allow us to share an image or link a website with friends.

Post 3

@anon30043 -Good question. HTML is known as a scripting language. A scripting language is a way to control another software application. The code that is written in a scripting language does not get compiled into machine code, but rather is interpreted by another application, in this case a program like Firefox or Internet Explorer.

Although this makes scripting languages generally easier to use, there are limits on the types of operations that a language like HTML can execute. Unlike programming in C++, there is very limited access to any of the local machine resources and less access to user input. However, for the application of web design, these limits do not pose many problems.

Post 2

What are the limitations of HTML tags?

Post your comments

Post Anonymously


forgot password?