HTML element description, Tag breakdown explanation

13 points
Created by:

In HTML each element consist of tag, attribute (name and value) and content. In this post element has been described in simple way.

1. HTML Tag Breakdown explanation

HTML tag construction
HTML tag construction


  • a - tag name
  • href - attribute name
  • my-page.htm - attribute value placed in double apostrophe
  • My page - this text can be replaced with other tags
  • </a> - a tag ashould be closed

Note: for event attribute looks following way: onclick="myJavaScriptFunction();"

Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.