HTML tags are the building blocks of an HTML document. They are used to create and structure the content of a webpage.
Some common HTML tags include:
<html>: defines the start and end of an HTML document.
<head>: contains meta-information about the document, such as the title, displayed in the browser's title bar or tab.
<body>: contains the main content of the document.
<p>: defines a paragraph.
<a>: creates a hyperlink.
<img>: displays an image.
<div>: creates a container for HTML elements, which can be used to group elements together and apply styles to them.
<header>: defines a header for a document or section.
<nav>: defines navigation links.
<main>: defines the main content of a document,
<footer>: defines a footer for a document or section.
<form>: creates an HTML form for user input.
<input>: creates form controls, such as text fields, checkboxes, and buttons, for user input.
These are some of the most common HTML tags, but there are many other tags as well.
refer The website can be found at https://www.w3.org/html/.
No comments:
Post a Comment