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

HTML

HTML describes the structure of web pages and is written using tags like <html> and <p>. A basic HTML document has an <html> tag which contains <head> and <body> sections. The <head> includes the <title> and <body> holds visible content such as <h1> headings and <p> paragraphs. HTML elements consist of opening and closing tags that can have attributes providing additional information.

Uploaded by

Abdi Axmad
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)
42 views

HTML

HTML describes the structure of web pages and is written using tags like <html> and <p>. A basic HTML document has an <html> tag which contains <head> and <body> sections. The <head> includes the <title> and <body> holds visible content such as <h1> headings and <p> paragraphs. HTML elements consist of opening and closing tags that can have attributes providing additional information.

Uploaded by

Abdi Axmad
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/ 11

HTML

By AbdiAwal
Adjectives
• HTML Introduction
• HTML Basic
• HTML Elements & Tags &Attributes
• HTML Text Formatting
• HTML Links
• HTML Lists
• HTML Table
• HTML Forms
Adjectives
• HTML image & video & Audio
• HTML Layout
HTML Introduction
• HTML stands for Hyper Text Markup Language
• HTML describes the structure of Web pages using
markup
• Web page are what make up the world wide web
• Static pages are typically written in Markup Language
• Every web page on the Internet is writing using one
version of HTML code or another
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>
Example Explained
• The <!DOCTYPE html> declaration defines this document to be
HTML5
• The <html> element is the root element of an HTML page
• The <head> element contains meta information about the
document
• The <title> element specifies a title for the document
• The <body> element contains the visible page content
• The <h1> element defines a large heading
• The <p> element defines a paragraph
HTML TAGS
• HTML tags are element names surrounded by angle
brackets
• <tagname>content goes here...</tagname>
• HTML tags normally come in pairs like <p> and </p>
• The first tag in a pair is the start tag, the second tag is
the end tag
• The end tag is written like the start tag, but with
a forward slash inserted before the tag name
HTML Elements
• An HTML element usually consists of a start tag
and end tag, with the content inserted in between:
• <tagname>Content goes here...</tagname>
• The HTML element is everything from the start tag to
the end tag:
• <p>My first paragraph.</p>
HTML Elements
HTML Attributes
• All HTML elements can have attributes
• Attributes provide additional information about an
element
• Attributes are always specified in the start tag
• Attributes usually come in name/value pairs like:
name="value“
• <img src="img_girl.jpg" width="500" height="600">
Example HTML Attributes
• Formatting elements were designed to display special types of text:
•<b> - Bold text
•<strong> - Important text
•<i> - Italic text
•<em> - Emphasized text
•<mark> - Marked text
•<small> - Small text
•<del> - Deleted text
•<ins> - Inserted text
•<sub> - Subscript text
•<sup> - Superscript text

You might also like