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 HTML Tags?

R. Kayne
R. Kayne

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.

HTML tags provide images on a webpage based on coding.
HTML tags provide images on a webpage based on coding.

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.

Hyperlinks might be underlined or a different color than surrounding text.
Hyperlinks might be underlined or a different color than surrounding text.

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.

Basic HTML syntax is made from words that are enclosed in greater-than and less-than signs, with the entire bracketed sequence being known as a tag.
Basic HTML syntax is made from words that are enclosed in greater-than and less-than signs, with the entire bracketed sequence being known as a tag.

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.

Discussion Comments

anon314319

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

JoseJames

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.

scienceguy34

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

anon30043

What are the limitations of HTML tags?

Post your comments
Login:
Forgot password?
Register:
    • HTML tags provide images on a webpage based on coding.
      By: Nikolai Sorokin
      HTML tags provide images on a webpage based on coding.
    • Hyperlinks might be underlined or a different color than surrounding text.
      By: See-ming Lee
      Hyperlinks might be underlined or a different color than surrounding text.
    • Basic HTML syntax is made from words that are enclosed in greater-than and less-than signs, with the entire bracketed sequence being known as a tag.
      By: spaxiax
      Basic HTML syntax is made from words that are enclosed in greater-than and less-than signs, with the entire bracketed sequence being known as a tag.