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

Basic Structure of HTML document

Rating
-
Sold
-
Pages
4
Uploaded on
09-02-2024
Written in
2023/2024

HTML (Hypertext Markup Language) is a fundamental building block of the internet. It is a markup language used to create and structure content on the web. In this article, we will delve into the basic structure of an HTML document, its components, and examples.

Show more Read less
Institution
Course

Content preview

Basic Structure of HTML document?

HTML (Hypertext Markup Language) is a fundamental building block of the internet. It is a
markup language used to create and structure content on the web. In this article, we will delve
into the basic structure of an HTML document, its components, and examples.

The Basic Structure of an HTML Document

An HTML document has a basic structure consisting of three components: the document type
declaration, the head section, and the body section. These components define the document's
purpose, structure, and content.

1. Document Type Declaration:

The document type declaration, or DOCTYPE, informs the web browser about the type of
HTML document. This declaration is necessary to ensure that the browser displays the document
correctly. The DOCTYPE declaration is placed at the beginning of the HTML document and
looks like this:

<DOCTYPE html>

This declaration specifies that the document is an HTML5 document.

2. Head Section:

The head section of an HTML document contains information about the document, such

as the title, metadata, and links to external resources. The head section is enclosed

within the <head> and </head> tags. Here is an example of a basic head section:

<head>

<title>My Webpage</title>

<meta name="description" content="This is my webpage">

<link rel="stylesheet" href="style.css">

Written for

Course

Document information

Uploaded on
February 9, 2024
Number of pages
4
Written in
2023/2024
Type
Class notes
Professor(s)
Ahmad gongdal
Contains
All classes

Subjects

$11.89
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
zubairalig

Get to know the seller

Seller avatar
zubairalig Published
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
1
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