HTML PPT
HTML PPT
<p> This is a
paragraph </p>
Conten
t
HTML TAG
Eleme
nt
BASIC HTML PAGE
<!DOCTYPE tells the browser you are using
HTML5
html> root of an html
document
<html> container for
metadata
<head >
<title>My First page
title
Page</title>
</ head
<bod y>> contains all data rendered by the
browser
<p>hello paragraph
world</p> tag
</body>
</html>
QUICK
POINTS
Html tag is parent of head & body tag
<html> =
<HTML>
<p> = <P>
<head> =
<HEAD>
<body> =
<BODY>
BASIC HTML
TAGS
HTML Attributes
Attributes are used to add more information
to the tag
<html lang="en">
HEADING TAG
Used to display headings in
HTML
h (most
important)
1
h
2
h3 (least
important)
PARAGRAPH TAG
<a href="https://google.com">
Google </a>
IMAGE TAG
relative url
BR TAG
<br>
BOLD, ITALIC & UNDERLINE TAGS
<hr>
Subscript & Superscript Tag
Used to display a horizontal ruler, used to
separate content
<pre> This
is a
sample
text.
</pre>
PAGE LAYOUT
TECHNIQUES
<header>
<main>
<footer>
INSIDE MAIN TAG
clickable pic
DIV TAG
unorder ordere
ed d
<ul <ol
> >
<li> Apple <li> Apple
</ li > </ li >
<li> Mango <li> Mango
</ li > </ li >
</ </
ul> ol>
TABLES IN HTML
Tables are used to represent real life
table
<tr daus
taed
. to display table
> row
used to display table
<td data
<th used to display table
>
> header
Tables in NAME Roll No
HTML
<table>
John 1664
<tr>
<th> Name
</t h >
<th> Roll No
</t h >
</tr>
<tr>
<td> Shradha
</t h >
</
table> <t h> 1664
</t h >
CAPTION IN TABLES
Student Data
Name Roll
John 166No
4
THEAD & TBODY IN TABLES
Data
John 166
4
Ama 189
n 0
FORM IN HTML
<form>
form content
</form>
ACTION IN FORM
<label for="id1">
id="id1">
</label>
<label for="id2">
<div id="id1"
class="group1">
</div>
<div id="id2">
class="group1">
</div>
CHECKBOX
<label for="id1">
<label for="id2">
</textarea>
SELECT
</select>
VIDEO TAG
<video src="myVid.mp4">My Video </video>
A ttributes
controls
height
- width
loop
autoplay
TASK-1
Create a simple Student Registration Form using only
HTML. The form should include fields for name,
email, password, gender selection (radio button),
course selection (checkbox), and a submit button.
Task-2
Create a simple Tourist Places Webpage that showcases
three famous destinations with their images and
descriptions. Clicking on the images should redirect the
user to a webpage for more details.
TASK-3
Create a Favorite Movie List page that
displays a table of movies with their
posters, names, and release years.