0% found this document useful (0 votes)
32 views9 pages

SURAJ

Uploaded by

legacysahil5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views9 pages

SURAJ

Uploaded by

legacysahil5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :

68
Objective 1: Create an XHTML web page that demonstrates the use
of the following XHTML tags – Paragraphs,Heading, and characters
entities.
HTML Code:
<!DOCTYPE html>
<html>
<body>
<h1><center>objective 1</center></h1>
<p>Hypertext markup language (HTML) is a scripting language that
web browser use to structure and display web pages .HTML
elements which are a series of instructions, tell the browser how to
display content , such as heading , paragraphs and links. for example,
html can structure content into lists, paragraphs ,images, and data
tables.</p>
<h1>HTML heading 1</h1>
<h2>HTML heading 2</h2>
<h3>HTML heading 3</h3>
<h4>HTML heading 4</h4>
<h5>HTML heading 5</h5>
<h6>HTML heading 6</h6>
<h1>HTML Entity Example</h1>
<h2>Use of &nbsp; &nbsp; &nbsp; &nbsp space character: </h2>
<h2>Use of single quote sign: &apos;</h2>
<h2>Use of double quote sign: &quot;</h2>
<h2>Use of less than : &lt;</h2>
<h2>Use of less than : &#60;</h2>
Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :
68
<h2>Use of greater than : &gt;</h2>
<h2>Use of Copyright : &copy</h2>
<h2>Use of Trademark : &reg</h2>
<h2>Use of Ampersand(and) sign : &amp;</h2>
</body>
</html>
Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :
68

OUTPUT:
Hypertext markup language (HTML) is a scripting language that web browser use
to structure and display web pages .HTML elements which are a series of
instructions, tell the browser how to display content , such as heading , paragraphs
and links. for example, html can structure content into lists, paragraphs ,images,
and data tables.

HTML heading 1
HTML heading 2
HTML heading 3

HTML heading 4
HTML heading 5

HTML heading 6

HTML Entity Example


Use of space character:
Use of single quote sign: '
Use of double quote sign: "
Use of less than : <
Use of less than : <
Use of greater than : >
Use of Copyright : ©
Use of Trademark : ®
Use of Ampersand(and) sign : &
Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :
68
Objective 2: Create a hyper link, page that demonstrate the use of
following XHTML tags ,Page Headings & Character or Entities use
for Hyper link Anchor Tag?
HTML code:
<!DOCTYPE html>
<html>
<body>
<h1> Objective 2 </h1>
<a href = "https://wwwgehu.ac.in">Click Me...</a>
</body>
</html>
Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :
68
OUTPUT:
Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :
68
Objective 3: Create a hyper link with page that demonstrate the use
of images, Attributes?
HTML CODE :
<!DOCTYPE html>
<html>
<body>
<h1> Objective 3 </h1>
<img src = "amit.jpg" width="300" height="300" alt="cat">
<img src = "C:\Users\HP\OneDrive\Desktop\html\rohit.jpg.jpg"
width="300" height="300">
</body>
</html>
Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :
68
OUTPUT:

OBJECTIVE 4 : Create an XHTML web page that demonstrate the


usage of order , unorder & description/definition list.
HTML CODE :
<!doctype html>
<html>
<head>
USE of OL, UL, DL Tags
<title>
Topper Engine
</title>
</HEAD>
<body>
<ol><LI>DRINKS:</LI>
<oL><LI>COCA-COLA</LI>
<LI>MAJA</LI>
<LI>RED BULL</LI></oL>
<LI>SPORTS:</LI>
<OL><LI>CRICKET</LI>
<LI>FOOTBALL</LI>
<LI>TENNIS</LI>
Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :
68
</OL></ol><br><br>
<ul><LI>DRINKS:</LI>
<uL><LI>COCA-COLA</LI>
<LI>MAJA</LI>
<LI>RED BULL</LI>
</uL><LI>SPORTS:</LI>
<uL><LI>CRICKET</LI>
<LI>FOOTBALL</LI>
<LI>TENNIS</LI>
</uL></ul><br><br>
<dl><dt>India</dt>
<dd>Total population according to year 2023 is 142.86 crores.</dd>
<dt>China</dt>
<dd>Total population according to year 2023 is 142.57
crores.</dd></dl>
</body>
</HTML>
Name : SURAJ SINGH Course/Sec : BCA/F2 ROLL NO :
68
OUTPUT:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy