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
Summary

Summary basic html

Rating
-
Sold
-
Pages
6
Uploaded on
04-05-2024
Written in
2023/2024

this document contains all the necessary basic html tags and attributes used to develop a webpage for beginners.

Institution
Course

Content preview

DOCUMENT SUMMARY
<html> </html>
This tag specifies that the webpage is written
in HTML. It appears at the very first and last line
of the webpage. It is mainly used to show that
the page uses HTML5 the latest version of
the language. Also known as the root element,
this tag can be thought of as a parent tag for
every other tag used in the page.

<head> </head>
This tag is used to specify meta data about
the webpage. It includes the webpages name,
its dependencies (JS and CSS scripts), font usage etc.

<title> </title>
As the name suggests, this tag contains
the title/name of the webpage. You can see this
in your browsers title bar for every webpage open
in the browser. Search engines use this tag to
extract the topic of the webpage, which is quite
convenient when ranking relevant search results.

<body> </body>
Everything the user sees on a webpage is written
inside this tag. It is a container for all the contents
of the webpage

Example
<html>
<head>
<title>My First Website</title>
</head>
<body>
</body>
</html>

DOCUMENT INFORMATION
<base/>
Used to specify the base URL of your site,
this tag makes linking to internal links on your
site cleaner.

<meta/>
This is the meta data tag for the webpage.
Can be useful for mentioning the pages author,

, keywords, original published date etc.

<link/>
This is used to link to scripts external to
the webpage. Typically utilized for including
stylesheets.

<style> </style>
The style tag can be used as an alternative to
an external style sheet, or complement it.
Includes the webpages appearance information.

<script> </script>
Used to add code snippets, typically in JavaScript,
to make webpage dynamic. It can also be used to
just link to an external script.

Example
<html>
<head>
<meta charset="utf-8">
<base href="http://myfirstwebsite.com"
target="_blank" />
<title>My Beautiful Website</title>
<link rel="stylesheet" href="/css/master.css">
<script type="text/javascript">
var dummy = 0;
</script>
</head>
<body>
</body>
</html

DOCUMENT STRUCTURE

<h1..h6> </h1..h6>
Six different variations of writing a heading.
<h1> has the largest font size, while <h6> has
the smallest.

<div> </div>
A webpages content is usually divided into
blocks, specified by the div tag.

<span> </span>
This tag injects inline elements, like an image,

Written for

Course

Document information

Uploaded on
May 4, 2024
Number of pages
6
Written in
2023/2024
Type
SUMMARY

Subjects

$9.09
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
abinaya2

Get to know the seller

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