HTML Part2
HTML Part2
HTML Basics
HTML is a markup language that is used to
create webpages.
The current version of HTML is HTML5.
CONT…
•The elements of a webpage such as
headings, tables, paragraphs, images,
and others are defined using the
predefined set of markup tags of HTML.
Cont…
HTML documents can be prepared using
simple text editor software such as Notepad.
There Is also other text editor software such
as Notepad++, Sublime Text, Visual Studio
are known.
Cont…
The documents are saved with a “.html”
extension.
E.g. home.html is a valid file name for
an HTML document or a webpage.
4.3.1 HTML Tags and Elements
HTML tags are a set of predefined names
enclosed in angle brackets.
web browsers are designed to interpret or
render HTML tags.
HTML supports six levels of headings.
HTML tag
• <b> -------------Bold
• <p>--------------Paragraph
• <i>---------------Italic
• <h1-h6>--------------Heading
• <ol>-------------Ordered list
• <ul>-------------unordered list
• <body>---------Body
HTML elements
•HTML elements are components of
an HTML document and normally
have a <start tag> followed by
content and an </end tag> .
•HTML elements are the building
blocks of a webpage.
Cont…
•HTML element is a collection
of start and end tags with the
content inserted in between
them.
Cont…
•Some HTML elements do not have a
closing tag;
•The HTML elements that have no
closing tag is void elements/empty
elements/singleton elements.
Example of void elements