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.
- Start Tag - <button>
- Close Tag - </button>
- 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>
Tags: SourceCode,
HTML & CSS