Class 11 computer science
Class 11 computer science
Grade 11 (Science)
ANGELS’ HEART SS/COLLEGE
Submission Date:05-12-2024
Submitted To: Sunil Pandit
Prepared by:
Name: Alisha Dangol
Roll. No. : 4
Faculty/section: Science
Page no. 1
Table of contents
Introduction to HTML ………………………………………………
Functions of basic HTML tags
WEB PAGE 1: HTML page to show basic HTML tag to display
Hello……..
WEB PAGE 2: Webpage to show basic tags <br>,<hr>,<p>………
WEB PAGE 3: Webpage to show heading tags [h1-h6]
WEB PAGE 4: Webpage to show HTML Formatting tags……
WEB PAGE 5: Webpage to format text using marque tag…….
WEB PAGE 6: Webpage to highlight the text using mark tag….
WEB PAGE 7: Webpage to make a list (ordered list)…….
WEB PAGE 8: Webpage to make a list (unordered list)…..
WEB PAGE 9: Webpage to insert image ……
WEB PAGE 10: Webpage to insert audio…..
WEB PAGE 11: Webpage to show hyperlink…..
WEB PAGE 12: Webpage to insert simple table….
WEB PAGE 13: Webpage to insert colspan table….
WEB PAGE 14: Webpage to insert rowspan table…..
WEB PAGE 15: Webpage to make form….
WEB PAGE 16: Webpage to use select and choose tag….
INTRODUCTION TO CASCADING STYLE SHEET (CSS)….
WEB PAGE 17: Code of cascading style sheet…….
Page no. 2
Introduction to HTML
HTML Tag
HTML tag is a special word enclosed inside the angular brackets()
which has specific meaning and the function in the HTML. It defines
that how web browser will format and display the content with the
help of tags , a web browser can distinguish between on HTML
content and a simple content HTML tags contain three main parts :
opening tag and closing tag but some HTML tags are enclosed tags .
for example :<html> , <p> ,<img> etc . There are two types of tags .
they are as follows
1.Paired tags
Paired tags are a set of two tags with same name in each paired tag
set , one is on the opening tag and the other one is the closing tag .
The closing tag has a (/) slash . It means that the tag is closed now . It
ensures that the effect of the website when the tags would be
limited to only content between them.
EXAMPLE : <html> </html> , <b> </b> etc
Page no. 3
2. Unpaired Tags
Unpaired tags are single tags with no closing tag. These tags are
called singular tag , non-container Tag or empty tag because they do
not contain any content .
Example: <br>, <hr>,<img> etc
Some common tags: body, syntax, background , bgcolor , text etc
HTML 5
CODE:
<html>
<title>heading tags</title>
<body bgcolor = "sky blue" text="white">
<h1>GOOD MORNING </h1>
<h2>GOOD EVENING</h2>
<h3>GOOD AFTERNOON</h3>
<h4> HAVE A NICE DAY</h4>
<h5>THANK YOU </h5>
</h6>YOU'R WELCOME </h6>
</body>
</html>
Screenshot of output from browser
Page no . 9