0% found this document useful (0 votes)
2 views8 pages

Elements of HTML

The document outlines the basic structure and elements of HTML, including the declaration, root element, and key tags for text formatting, such as headings, paragraphs, and lists. It also describes semantic elements like headers, navigation, and sections, along with other useful tags for metadata and scripting. Overall, it serves as a comprehensive guide to essential HTML components.

Uploaded by

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

Elements of HTML

The document outlines the basic structure and elements of HTML, including the declaration, root element, and key tags for text formatting, such as headings, paragraphs, and lists. It also describes semantic elements like headers, navigation, and sections, along with other useful tags for metadata and scripting. Overall, it serves as a comprehensive guide to essential HTML components.

Uploaded by

Vidyashankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

ELEMENTS OF HTML

V VIDYASHANKAR
BASIC STRUCTURE
< !DOCTYPE html > - Declares the document as HTML 5
<html> - The root element of an HTML page
<head> - Contains meta information about the HTML page (title,
character sets, link to
stylesheets>
<title> - Defines the title of the HTML page displayed in the browser
tab
<body> - Contains the visible page content
TEXT FORMATTING
<h1> to <h6> : Defines HTML headings ( Level 1 is the largest and
level 6 is the smallest )
<p> - Defines a paragraph
<b> or <strong> - Defines bold text
<i> or <em> - Defines italicized text
<u> - Defines underlined text
<br> - Inserts a single line break
<hr> - Inserts a horizontal line
<a> - Defines a hyperlink
TEXT FORMATTING
<img> - embeds an image
<o1> - Defines an ordered (numbered) list
<u1> - Defines an unordered (bulleted) list
<li> - Defines a list item
<div> - Defines a division or section in an HTML document
<span> - Defines a small section in the document
<table> - Defines a table
<tr> - Defines a table row
<td> - Defines a table row
TEXT FORMATTING
<th>- Defines a table header cell
<form> - Defines an HTML form for user input
<input> - Defines an input field ( e.g.: textbox, checkbox, radio button
)
<button> - Defines a clickable button
<textarea> - Defines a multi-line text input control
<select> - Defines a drop-down list
<option> - Defines an option in a drop-down list
<label> - Defines a label for an <input> element
<iframe> - Embeds another HTML page within the current page
SEMANTIC ELEMENTS
< header > - Defines a header for a document or section
< nav > - Defines navigation links
< main > - Defines the main content of a document
< article > - Defines an independent, self-contained article
< aside > - Defines content aside from the main content (e.g., sidebar )
< footer > - Defines a footer for a document or section
< section > - Defines a section in a document
< figure > - Specifies self-contained content like illustrations, diagrams,
photos, code listings etc
<figcaption> - Defines a caption for a <figure> element
OTHER USEFUL TAGS
<meta> - Defines metadata about an HTML page ( e.g. character set,
description and keywords )
< link > - Defines the relationship between the current document and
an external resource ( e.g.
stylesheet )
< style > - Defines style formation for an HTML document
< script > - Defines a client-side script ( e.g. – JavaScript )
< noscript > - Defines an alternative content for users that have
disabled scripts in their browser
THANK YOU

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy