0% found this document useful (0 votes)
71 views3 pages

15 BASICS H.T.M-WPS Office

The document outlines 15 basic HTML tags with explanations for each. Key tags include <html> for the document root, <head> for metadata, <body> for visible content, and various tags for text formatting, lists, images, and forms. Each tag serves a specific purpose in structuring and presenting web content.

Uploaded by

pcicomputers oko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views3 pages

15 BASICS H.T.M-WPS Office

The document outlines 15 basic HTML tags with explanations for each. Key tags include <html> for the document root, <head> for metadata, <body> for visible content, and various tags for text formatting, lists, images, and forms. Each tag serves a specific purpose in structuring and presenting web content.

Uploaded by

pcicomputers oko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

15 BASICS H.T.M.L TAG'S WITH EXPLANATIONS.

1. <html>

The <html> tag defines the root of an HTML document. It contains all the content on the webpage.

2. <head>

The <head> tag contains metadata about the document, such as the title, character set, links to
stylesheets, and scripts.

3. <title>

The <title> tag defines the title of the webpage, which appears in the browser's title bar or tab.

4. <body>

The <body> tag wraps all the visible content of the webpage, including text, images, videos, and other
elements.

5. <h1>, <h2>, <h3>, etc.

These are heading tags used to define headings on the webpage. <h1> is the most important heading,
and the number increases in importance with <h2>, <h3>, and so on.

6. <p>
The <p> tag is used for paragraphs. It wraps text into a block-level element, adding space before and
after the paragraph.

7. <a>

The <a> tag is used to create hyperlinks. It can link to another webpage or a specific part of the same
page. The href attribute specifies the destination URL.

8. <img>

The <img> tag is used to embed images in a webpage. It has attributes like src for the image source and
alt for alternative text.

9. <ul>

The <ul> tag defines an unordered (bulleted) list. It works together with <li> tags for each list item.

10. <ol>

The <ol> tag creates an ordered (numbered) list, also using <li> tags for each list item.

11. <li>

The <li> tag defines a list item, used inside both unordered and ordered lists (<ul>, <ol>).

12. <div>
The <div> tag is a container element used for grouping content and applying styles or layout to sections
of a page.

13. <span>

The <span> tag is an inline container used to group small portions of content for styling or scripting
purposes.

14. <form>

The <form> tag is used to create interactive forms. It contains various input elements like text fields,
checkboxes, and buttons.

15. <input>

The <input> tag is used to define an input field in a form. It can take various types, such as text,
password, checkbox, etc., via the type attribute.

You might also like