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

Hyper Text Markup Language (2)

HTML, or Hypertext Markup Language, is the standard markup language for creating web pages, defining their structure through a series of elements. It is easy to learn, flexible, and widely supported, though it has limitations in interactivity and styling. The document outlines the basic structure of HTML, types of lists, form input types, and the concept of frames for displaying multiple HTML pages in one browser window.

Uploaded by

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

Hyper Text Markup Language (2)

HTML, or Hypertext Markup Language, is the standard markup language for creating web pages, defining their structure through a series of elements. It is easy to learn, flexible, and widely supported, though it has limitations in interactivity and styling. The document outlines the basic structure of HTML, types of lists, form input types, and the concept of frames for displaying multiple HTML pages in one browser window.

Uploaded by

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

HYPER TEXT MARKUP LANGUAGE(HTML)

 Html stands for Hypertext markup language.


 Html is the standard markup language for creating web pages.
 Html describes the structure of a web page.
 Html consists of a series of html elements.
 Html elements tell the browser how to display the content.

Characteristics of Html
 Easy to learn and understand
 Flexibility
 Linkable
 Platform independent
 Extensive features
 Market language
 Case insensitive
 Language support

Advantages and disadvantages of Html


Advantages of Html
 Easy to learn and use
 Widely used and supported
 Integrates with other languages
 Cross browser compatibility
 Maintained by W3C
 Lightweight
 Versatile
 Free and open source
Disadvantages of Html
 Limited interactivity
 Limited styling options
 Complexity
 Browser compatibility issues
 Security vulnerabilities
Structure of Html
The basic structure of an html document consists of the following elements:
 <!DOCTYPE>: This line specifies the version of Html used in the
document.
 <html>: This tag informs the browser that it is a Html document. Text
between Html tag describes the web document. It is a container for all
other elements of Html except <!DOCTYPE>.
 <head>: The head tag contains metadata about the document, including
the title of the document, which is displayed in the browser’s tab. The
head tag also contains other important information such as the
document’s character set as any CSS or JavaScript files that are needed
to display the content. It should be the first element inside the <html>
element which contains the metadata. It must be closed before the body
tag opens.
 <title>: As its name suggested, it is used to add title of that HTML page
which appears at the top of the browser window. It must be placed
inside the head tag and should close immediately.
 <body>: Text between body tag describes the body content of the page
that is visible to the end user. This stack contains the main content of the
html document.
Basic HTML tags

 Href stands for hypertext reference and it is an attribute for anchor tag.
The address of the file or the website is typed in the href attribute.
LISTS
 A list is a collection of items that are organised and presented in a
specific order or a sequence in Html list can be used to present
information in a structured and easy to read format.
 There are three different types of lists: ordered lists(numbered),
unordered lists(bulleted), definition lists or description lists.

1. UNORDERED LIST:
An unordered list is used to list items that do not have a specific order.
2. ORDERED LIST:
An ordered list is used to list items in a specific order, typically numbered.

3. DESCRIPTION AND DEFINITION LIST:

Definition list is used to provide a definition of terms, it is typically displayed


with a bullet or indentation to the right of the term.
Description list is used to provide additional details or information about
something, and is usually displayed in bold font and the description is displayed
below the description term.
Both definition list and description list use the <dt> and <dd> tags, they are
used for different purposes and are typically displayed differently.
FORMS
<input/> tags type attributes

 <input type="button">
 <input type="checkbox">
 <input type="color">
 <input type="date">
 <input type="email">
 <input type="image">
 <input type="password">
 <input type="radio">
 <input type="reset">
 <input type="submit">
 <input type="text">
 <input type="time">

FRAMES
The entire separation of HTML pages is possible using the concept of frames.
This concept of HTML providing multiple frames at one browser display is
called frameset, and all the frame tags are used within the container
tag <frameset>.
This tag defines a specific window or frame inside the <frameset> tag.
Every <frame> within the <frameset> tag may use attributes for different
purposes like border, resizing capability, include scrolling, etc. The <frame> tags
are inserted between the start and the end of <frameset> tags.
Attributes of <frameset> and <frame>
<frameset>
 Cols
 Rows
<frame>
 Frameborder
 Marginheight
 Marginwidth
 Name
 Noresize
 Scrolling
 Src

Nested frameset
One frameset inside another frameset is called nested frameset.

You might also like