What a html tags
HTML (HyperText Markup Language) is the standard language used to create web pages. HTML uses a set of tags to format and display text, images, videos, and other media on the web. In this article, we will cover some of the most commonly used HTML tags and their functions.
<!DOCTYPE html>
This tag is used at the beginning of an HTML document to declare the version of HTML being used. It is mandatory for all HTML documents and tells the web browser which version of HTML to use to display the page.
<html>
The <html> tag is used to define the beginning and end of an HTML document. All other HTML tags must be placed between the <html> and </html> tags.
<head>
The <head> tag is used to define the header section of an HTML document. This section contains information about the web page, such as the title, description, and keywords.
<title>
The <title> tag is used to define the title of an HTML document. This title is displayed in the browser's title bar and is used by search engines to index the page.
<body>
The <body> tag is used to define the body section of an HTML document. This section contains all the content that will be displayed on the web page, such as text, images, videos, and other media.
<h1> to <h6>
The <h1> to <h6> tags are used to define headings in an HTML document. <h1> is the largest and <h6> is the smallest heading. Headings are used to give structure to the content on the page and help users navigate the page.
<p>
The <p> tag is used to define paragraphs in an HTML document. This tag is used to separate blocks of text and make the content easier to read.
<br>
The <br> tag is used to insert a line break in an HTML document. This tag is used to break text into multiple lines and make the content easier to read.
<a>
The <a> tag is used to create a hyperlink in an HTML document. This tag is used to link to other web pages, documents, or files on the internet.
<img>
The <img> tag is used to insert an image in an HTML document. This tag is used to display images on the web page.
<ul> and <li>
The <ul> and <li> tags are used to create unordered lists in an HTML document. The <ul> tag defines the beginning and end of the list, and the <li> tag is used to define each item in the list.
<ol> and <li>
The <ol> and <li> tags are used to create ordered lists in an HTML document. The <ol> tag defines the beginning and end of the list, and the <li> tag is used to define each item in the list.
<table>
The <table> tag is used to create a table in an HTML document. This tag is used to display data in a tabular format.
<tr> and <td>
The <tr> and <td> tags are used to define rows and columns in an HTML table. The <tr> tag defines a row, and the <td> tag defines a cell in the row.
<form>
The <form> tag is used to create a form in an HTML document. This tag is used to collect user input, such as text, checkboxes, radio buttons, and other form elements.
<input>
The <input> tag is used to create form elements in an HTML



0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home