Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Hyper text markup language

Rating
-
Sold
-
Pages
7
Uploaded on
05-09-2024
Written in
2024/2025

Detailed notes on hyper text markup language , html

Institution
Course

Content preview

UNIT - 2

1. HTML INTRODUCTION:
• HTML stands for Hypertext Markup Language, and it is the most widely used language to
write Web Pages.
• Hypertext refers to the way in which Web pages (HTML documents) are linked together.
Thus, the link available on a webpage is called Hypertext.

• As its name suggests, HTML is a Markup Language which means you use HTML to simply
"mark-up" a text document with tags that tell a Web browser how to structure it to display.

• HTML was developed with the intent of defining the structure of documents like headings,
paragraphs, lists, and so forth to facilitate the sharing of scientific information between
researchers.
• HTML is being widely used to format web pages with the help of different tags available in
HTML language.
EXAMPLE
<! DOCTYPE html>
<html>
<head>
<title> this is document </title>
</head>
<body>
<h1> this is heading </h1>
<p>Document content goes here……. </p>
</body>
</html>
2. GETTING STARTED & CREATING ANS SAVING HTML DOCUMENT:

Step 1: Creating the HTML file
Open up your computer's plain text editor and create a new file.

Step 2: Type some HTML code
Start with an empty window and type the following code:

Example:
<!DOCTYPE html>
<html lang="en">
<head>
<title>A simple HTML document</title>
</head>
<body>

, <p>Hello World!<p>
</body>
</html>

Step 3: Saving the file
Now save the file on your desktop as "myfirstpage.html ".

Note: It is important that the extension .html is specified — some text editors, such as Notepad,
will automatically save it as .txt otherwise.

Explanation of code
You might think what that code was all about. Well, let's find out.

• The first line <!DOCTYPE html> is the document type declaration. It instructs the web browser
that this document is an HTML5 document. It is case-insensitive.
• The <head> element is a container for the tags that provides information about the document, for
example, <title> tag defines the title of the document.
• The <body> element contains the document's actual content (paragraphs, links, images, tables, and
so on) that is rendered in the web browser and displayed to the user.

3. DOCUMENT LAYOUTS OF HTML PAGE

HTML layouts provide a way to arrange web pages in well-mannered, well-structured, and in
responsive form or we can say that HTML layout specifies a way in which the web pages can be
arranged. Web-page layout works with arrangement of visual elements of an HTML document.




Every website has a specific layout to display content in a specific manner.

Description of various Layout elements :

• HTML <header>

. The <header> element is used to create header section of web pages. The header contains the
introductory content, heading element, logo or icon for the webpage, and authorship information

• HTML <nav>

The <nav> elements is a container for the main block of navigation links. It can contain links for
the same page or for other pages.

Written for

Institution
Course

Document information

Uploaded on
September 5, 2024
Number of pages
7
Written in
2024/2025
Type
Class notes
Professor(s)
Sathya
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sathyaoffici

Get to know the seller

Seller avatar
sathyaoffici Madonna matriculation school
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
16
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions