Sunteți pe pagina 1din 5

Assignment Number: 1 Roll Number: 38

QUESTION NUMBER 1:- Create this document in html code with appropriate paired
and singular tags, formatting tags and font tag.

HTML

When create html file then ".htm" and ".html" extension is used

Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. With

Cascading Style Sheets (CSS) and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web.

Web browsers receive HTML documents from a web server or from local storage and render the documents into

multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the

appearance of the document

SOURCE CODE:-

<Html>

<Head>

<Title> Assignment No 1</Title>

</Head>

<Body>

<H1 align=center>HTML</H1>

<H5><Font Face=Arial><I>When create html file then ".htm" and ".html" extension is used</I></H5>

<P><Font Face=Script MT Bold color=A52A2A><i><B> Hypertext Markup Language (HTML) is the standard
markup language for creating web pages and web applications. With Cascading Style Sheets (CSS) and
JavaScript, it forms a triad of cornerstone technologies for the World Wide Web. </Font></B></i></P>

<P><Font Face=Comic Sans MS><Font color=191970><B><I>Web browsers receive HTML documents from
a web server or from local storage and render the documents into multimedia web pages. HTML describes
the structure of a web page semantically and originally included cues for the appearance of the
document</I></B></Font></P>

Page Number:-
Assignment Number: 1 Roll Number: 38
</Body>

</Html>

OUTPUT:-

Page Number:-
Assignment Number: 1 Roll Number: 38
QUESTION NUMBER 2:- Create Html code with list tags.

SOURCE CODE:-

<Html>
<Head>
<Title>List Tag</Title>
</Head>
<Body>
<H1><B><U>Example on Unordered List</U></B></H1>
<UL><I>List of Input Devices
<LI>Keyboard</LI>
<LI>Mouse</LI>
<LI>Scanner</LI>
<LI>Point of sale</LI>
<LI>Joystick</LI></I>
</UL>
<H1><B><U>Example on Ordered List</U></B></H1>
<OL type=I><I>List of Output Devices
<LI>Printer</LI>
<LI>Plotter</LI>
<LI>Monitor</LI>
<LI>Speaker</LI>
<LI>Head Phones</LI></I>
</OL>
<H1><B><U>Example on Definition List</U></B></H1>
<DT><B>Output Device</B></DT><br>
<DD><I><B>Output device </B>displays the result of processing of raw data that is entered in
computer through an input device.</I></DD><br>
<DT><B>Input Device</B></DT><br>
<DD><I>An <B>input device</B> is any hardware <B>device</B> that sends data to a computer,
allowing you to interact with and control it.</DD></I>
</Body></Html>

Page Number:-
Assignment Number: 1 Roll Number: 38
OUTPUT:-

Page Number:-
Assignment Number: 1 Roll Number: 38
QUESTION NUMBER 3:- Create html code with help of <img> tag

SOURCE CODE:-

<html>

<head>

<title>Image Tag</title>

</head>

<Body>

<h1>HTML Code With Help of <img> Tag</h1>

<img src=pic8.jpg height=400 width=800 border=5>

</Body>

</html>

OUTPUT:

Page Number:-

S-ar putea să vă placă și