Usage Of HTML Tags

Hello viewers. This is an explanation usage of HTML tags. What is HTML Tags? HTML tags are simply keywords used in HTML. HTML is a Hypertext Markup Language. The words used in HTML are called hypertext. Also, symbols used in HTML are called markups. HTML tags are made up of adding hypertext and markup. Hypertext and markups are called attributes.

Attributes

hypertext = "hypertext"

Hypertexts

button, input, input, select, text.

Markups

<, >, ", !, =, /, ;

Hypertexts + Markups = Tags

Tags 

<button> </button>, <span> </span>

Each tag must have an opening tag and a closing tag. There are three types of attributes in HTML. 

  1. Start Tag  - <button>
  2. Close Tag - </button>
  3. Self-close Tag - </input>
Every html page must start with <html> and end with </html>. All other tags must be enclosed within <html> and </html>. The <body> tag holds the title and other functions(links) of the page.

  • Version Tag 
This statement is not actually an HTML tag. It is information about the document type to expect for the browser.

<!DOCTYPE html>

  • Structure of HTML
<!DOCTYPE html>

<html>
<head>
<title>Hyper Text</title>
</head>

<body>
The content of the web page.
</body>

</html>


Thank you for reading! If you found this guide helpful, please share it with your fellow friends. Stay tuned for more tips and tutorials on web development.

Happy coding!



Post a Comment

Previous Post Next Post