Professional Documents
Culture Documents
Cnit File
Cnit File
BOSE UNIVERSITY OF
SCIENCE AND TECHNOLOGY
YMCA, FARIDABAD
22001323059
B.sc(H) Mathematics
INDEX
● Hypertext refers to the way in which Web pages (HTML documents) are
linked together. Thus, the link available on a webpage is called Hypertext.
● HTML is a Markup Language which means you use HTML to simple
"mark-up" a text document with tags that tell a Web browser how to
structure it to display.
HTML was created by Berners-Lee in late 1991 but "HTML 2.0" was the first
standard HTML specification which was published in 1995. HTML 4.01 was a
major version of HTML and it was published in late 1999. Though the HTML 4.01
version is widely used, currently we are having the HTML-5 version which is an
extension to HTML 4.01, and this version was published in 2012.
Features of HTML:
● It is easy to learn and easy to use.
● It is platform-independent.
● Images, videos, and audio can be added to a web page.
● Hypertext can be added to the text.
● It is a markup language
Html structure:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
HTML Tags :
<!DOCTYPE html> : This tag defines the document type and HTML version.
<html> : This tag encloses the complete HTML document and mainly comprises
of document header which is represented by <head>...</head> and document body
which is represented by <body>...</body> tags.
<head> : This tag represents the document's header which can keep other HTML
tags like <title>, <link> etc.
<title> : The <title> tag is used inside the <head> tag to mention the document
title.
<body>: This tag represents the document's body which keeps other HTML tags
like <h1>, <div>, <p> etc.
<h1> : This tag represents the heading.
<p> : This tag represents a paragraph.
Basic tags
● The <hr> or <hr/> tag defines a thematic break in an HTML page (e.g. a
shift of topic).The <hr> or <hr/> element is most often displayed as a
horizontal rule that is used to separate content (or define a change) in an
HTML page
● <b> used for making text bold.Anything that appears within <b>...</b>
element, is displayed in bold .
● <i> used for making text italic.Anything that appears within <i>...</i>
element is displayed in italicized
● <u> used to underline text.Anything that appears within <u>...</u> element,
is displayed with underline
● <sub> Specifies inline text which should be displayed as subscript for solely
typographical reasons. Subscripts are typically rendered with a lowered
baseline using smaller text.The content of a <sub>...</sub> element is
Written in subscript.
● <sup> Specifies inline text which is to be displayed as superscript for solely
typographical reasons. Superscripts are usually rendered with a raised
baseline using smaller text.The content of a <sup>...</sup> element is
Written in superscript.
● <strik> used to strik a text.Anything that appears within
<strike>...</strike> element is displayed with strikethrough, which is a thin
line through the text .
● <h1>----<h6>- Represent six levels of section headings. <h1> is the highest
section level and <h6> is the lowest.
● <body bgcolor=” “> is used to add colour to the background of the page
● <font>The <font> tag is used to specify the font face, font size, and color
of text .
● <center> tag to put any content in the center of the page or any table cell.
● Anything that appears within <em>...</em> element is displayed as
emphasized text.
● Anything that appears with-in <mark>...</mark> element, is displayed as
marked with yellow ink.
PROGRAM 1
Create html document with following format - bold, italic,underline,color,
heading , title,font and font width , background,paragraph,line braces,
horizontal line , blinking text as well as marque text.
<!doctype html>
<html>
<head>
</head>
<body style="background-color:powderblue;">
<p>This is a paragraph.</p>
</body>
</html>
Output
PROGRAM 2
Create html document with ordered and unordered list and with inserting
images, internal and external linking.
<!DOCTYPE html>
<html>
<body>
<ol type="1">
<li>Multivariate calculus</li>
<li>CNIT</li>
<li>Group theory</li>
<li>LaTex</li>
</ol>
<ul style="list-style-type:square">
<li>Thomas Calculs</li
<li>Computer Network</li>
<li>Fundamental of Statistics</li>
<li>Learning LaTex</li>
</ul>
<img src="C:\Users\Lenovo\OneDrive\Pictures\Screenshots\Screenshot
2023-10-18 181644.png" width="104" height="142">
</html>
Output
PROGRAM 3
Create html table using row span and col span and also insert image in a
table.
<!doctype html>
<html>
<head>
</head>
<th> department</th>
<th> Age</th>
</tr>
<tr>
<td> 59 </td>
<td> Varsha</td>
<td> Mathematics</td>
<td> 19 </td>
</tr>
<tr>
</td>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</body>
</html>
Output
PROGRAM 4
Create form with input type, select and Text area in html.
<!doctype html>
<html>
<head>
<title>form </title>
</head>
<body>
<form>
<br>
<br>
<br>
<select id="marks"name="marks">
<option value="80">80</option>
<option value="90">90</option>
<option value="100">100</option>
</select>
<br><br>
<label for="comments">Comments:</label><br>
</form>
</body>
</html>
Output
PROGRAM 5
Create an html containing roll no. ,student ‘s name and grades in tabular
form.
<!doctype html>
<html>
<head>
<title>tabular form</title>
</head>
<body>
<table border="2"><tr>
<th>Rollno.</th>
<th>Student's Name</th>
<th>grades</th>
</tr>
<tr>
<td>37</td>
<td>Priyanka Kumari</td>
<td>A</td>
</tr>
<tr>
<td>59</td>
<td>Varsha</td>
<td>A</td>
</tr>
<tr>
<td>14</td>
<td>Isha</td>
<td>A</td>
</tr>
<tr>
<td>30</td>
<td>Nancy Sharma</td>
<td>A+</td>
</tr>
<tr>
<td>52</td>
<td>Sneha Singh</td>
<td>A</td>
</tr>
</table>
</body>
</html>
Output
PROGRAM 6
Create an html document(having two frames) which will appear as columns
form .It means two frames appear in a column and these are called vertical
frames.