0% found this document useful (0 votes)
4 views

HTML

HTML, or Hypertext Markup Language, is used for creating web pages through a system of tags that structure content. Key components include opening and closing tags, elements like <html>, <head>, <body>, and various types of lists such as unordered and ordered lists. A simple HTML document example is provided, showcasing the basic structure and elements used in web development.

Uploaded by

Nelly Chantal
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

HTML

HTML, or Hypertext Markup Language, is used for creating web pages through a system of tags that structure content. Key components include opening and closing tags, elements like <html>, <head>, <body>, and various types of lists such as unordered and ordered lists. A simple HTML document example is provided, showcasing the basic structure and elements used in web development.

Uploaded by

Nelly Chantal
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

HTML

 HTML is the stands for Hypertext markup language for creating Web
pages

 It uses a system of tags to structure content

 Tags
They are building blocks used to create elements within a web page
BASIC STRUCTURE OF TAGS
a) Opening tag:
It indicates the start of an element. Example
<p> for a paragraph
b) Content:
Is the text or element the tag encloses .Example
This is a paragraph
c) Closing tag:
Indicates end of element. Example
</p>
Example of full element tags
<p>This is a paragraph</p>.
HTML ELEMENTS
In HTML element is defined by a start tag, some content, and an
end tag:
a) The <! doctype html> Declaration of html document
b) The <html> element is the root element of an html document
c) The <head> element displays metadata about the document
e.g. the title and links
d) The <title> element specifies the title of html page.
e) The <body> element contains the content of the document
f) The <h1> to element has heading tags for titles and sub-titles
g) The <p> Is a paragraph element for text blocks
A simple HTML document
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>


<p>My first paragraph.</p>

</body>
</html>
ASSIGNMENT
1. Describe the following html elements
• <a>
• <li>
• <ul>
• <ol>
• <img>
• <video>
LIST ELEMENT
HTML lists allow web developers to group a set of related items in lists

Categories of lists

a) Unordered list-Unordered list starts with the <ul> tag. Each item List
starts with the <li> tag. The list items will be marked with bulletins by
default. Example
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>

You might also like