These are the tags in HTMl
1.<!DOCTYPE html>
The declaration is not an HTML tag. It is an "information" to
the browser about what document type to expect.
2.html
This tag represents the root of an HTML document.The <html>
tag is the container for all other HTML elements (except for
the <!DOCTYPE> tag).
3.head
The <head> element is a container for metadata (data about
data) and is placed between the <html> tag and the <body> tag.
4.body
The <body> element contains all the contents of an HTML
document, such as headings, paragraphs, images, hyperlinks,
tables, lists, etc.
5.Heading tag.
The <h1> to <h6> tags are used to define HTML headings.
6.Paragraph tag.
The <p> tag defines a paragraph.Browsers automatically add a
single blank line before and after each <p> element.
7.Link tag.
The <link> tag defines the relationship between the current
document and an external resource.
E.g:
<head>
<link rel="stylesheet" href="styles.css">
</head>
8.Footer tag.
The <footer> tag defines a footer for a document or section.
A <footer> element typically contains:
- authorship information
- copyright information
- contact information
- sitemap
- back to top links
- related documents
9.Input tag.
The <input> tag specifies an input field where the user can
enter data.
E.g:
- <input type="button">
- <input type="url">
10.Anchor tag .
The <a> tag defines a hyperlink, which is used to link from
one page to another.
The most important attribute of the <a> element is the href
attribute, which indicates the link's destination.
E.g:
<a href="https://www.google.com">Visit google.com!</a>
Top comments (0)