Sie sind auf Seite 1von 15

Submitted To :Miss.

Neelam

Submitted By:Mohammed Asif IMCA-7 Rollno-4

Assignment : 1
1. Demonstrate the use of Image Mapping taking world map and make links on all the seven continents . Sol. <HTML> <HEAD> <TITLE> IMAGE MAPPING </TITLE> </HEAD> <BODY BGCOLOR=BLACK> <IMG SRC="continents_map.jpg" USEMAP="#imap" align=middle> <map name="imap"> <area shape="Rect" Coords ="237,109,354,225" href="North-America.pdf"> <area shape="Rect" Coords ="349,336,482,450" href="South-America.pdf"> <area shape="Rect" Coords ="597,238,809,345" href="Africa.pdf"> <area shape="Rect" Coords ="875,119,1051,252" href="Asia.pdf"> </map> </BODY> </HTML>

Output:-

2. Design an HTML page to display the following table :

Sol. <html> <head> <title> Table Design </title> </head> <body> <table border=1 width =50% height=50%> <tr> <th> column 1</th> <th colspan=2>column 2</th> </tr> <tr> <td rowspan=2> Row1cell1</td> <td bgcolor="red">Row1 cell2</td> <td> Row1 cell3</td> </tr> <tr> <td> Row2 cell2</td> <td background="Water lilies.jpg"><font color="white">Row2cell3</font></td> </tr> <tr> <td colspan="3"> Row3 cell1</td> </tr> </table> </body> </html>

Output:-

3. Create an HTML document to show the use of Links (use both external as well as internal links). The document should show the links in red, active links in green and visited links in aqua color. Sol. <HTML> <HEAD> <TITLE> Internal and External Linking </TITLE> </HEAD> <BODY link="red" alink="green" vlink="aqua"> <h2>External Linking</h2> <a href="D:\picture\devil may cry\Devil_May_Cry_4.jpg" > Devil May Cry </a> <br> <a href="picture.jpg" > Collages </a> <h2> Internal linking</h2> <h3> Table of the content </h3> <a name ="top"> <ol> <li> <a href ="#ita"> Internet Technology Application </a></li> <li> <a href ="#acn"> Advance Computer Network </a></li> <li> <a href ="#adbms"> Advance Database Management System </a></li> </ol> </a> <a name ="ita" tabindex=1>

<h4> Internet Technology Application </h4> <pre> HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages

When a browser opens an HTML file, the browser will look for HTML codes in the text and use them to change the layout, insert images, or create links to other pages.

HTML markup tags are usually called HTML tags HTML tags are keywords surrounded by angle brackets like <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags.

</pre> </a> <p> <p> <a href ="#top" > Goto the table of the content </a>

<a name ="acn" tabindex=1> <h4> Advance Computer Network </h4>

<pre> Distributed coordination function (DCF) is the fundamental MAC technique of the IEEE 802.11 based WLAN standard. DCF employs a CSMA/CA with binary exponential backoff algorithm. DCF requires a station wishing to transmit to listen for the channel status for a DIFS interval. If the channel is found busy during the DIFS interval, the station defers its transmission. In a network where a number of stations contend for the wireless medium, if multiple stations sense the channel busy and defer their access, they will also virtually simultaneously find that the channel is released and then try to seize the channel. As a result, collisions may occur. In order to avoid such collisions, DCF also specifies random backoff, which forces a station to defer its access to the channel for an extra period. The length of the backoff period is determined by the following equation: DCF also has an optional virtual carrier sense mechanism that exchanges short Requestto-send (RTS) and Clear-to-send (CTS) frames between source and destination stations during the intervals between the data frame transmissions. DCF includes a positive acknowledge scheme, which means that if a frame is successfully received by the destination it is addressed to, the destination needs to send an ACK frame to notify the source of the successful reception. DCF is defined in subclause 9.2 of the IEEE 802.11 standard and is the de facto default setting for Wi-Fi hardware.

The IEEE 802.11 standard also defines an optional access method using a Point Coordination Function (PCF). PCF allows the access point acting as the network coordinator to manage channel access. The IEEE 802.11e amendment to the standard enhances the DCF and the PCF, through a new coordination function called Hybrid Coordination Function (HCF). </pre> </a> <p> <p> <a href ="#top" > Goto the table of the content </a>

<a name ="adbms" tabindex=1> <h4> Advance Database Management System </h4> <pre> SQL is based on the groundbreaking work of Dr. E.F. Codd, with the first implementation of SQL being developed by IBM in the mid-1970s. IBM was conducting a research project known as System R, and SQL was born from that project. Later, in 1979, a company then known as Relational Software Inc. (known today as Oracle Corporation) released the first commercial version of SQL. SQL is now fully standardized and recognized by the American National Standards Institute. SQL uses a simple syntax that is easy to learn and use. Youll see some s imple examples of its

use in this chapter. There are five types of SQL statements, outlined in the following list: Query statements retrieve rows stored in database tables. You write a query using the SQL SELECT statement. Data Manipulation Language (DML) statements modify the contents of tables. There are three DML statements: INSERT adds rows to a table. UPDATE changes rows. DELETE removes rows. Data Definition Language (DDL) statements define the data structures, such as tables, that make up a database. There are five basic types of DDL statements: CREATE creates a database structure. For example, CREATE TABLE is used to create a table; another example is CREATE USER, which is used to create a database user. ALTER modifies a database structure. For example, ALTER TABLE is used to modify a table. DROP removes a database structure. For example, DROP TABLE is used to remove a table. RENAME changes the name of a table. TRUNCATE deletes all the rows from a table. </pre> </a> <p><p> <a href ="#top" > Goto the table of the content </a> </BODY> </HTML>

Output:-

4. Create an HTML document to show the following contents: HTML Hyper Text Markup Language is used to create web pages.. Elements of HTML Tags Attributes Text Formatting Tags 1. Font a. Attributes : i. face ii. color iii. size 2. H1 a. Attributes i. align

Sol. <html> <body> <dl> <dt><h2> <font color="red"> HTML</font></h2></dt> <dd> WebPages are written in HTML - a simple scripting language. HTML is a language for describing web pages.<ul> <li>HTML stands for Hyper Text Markup Language</li> <li>HTML is not a programming language, it is a markup language</li> <li>A markup language is a set of markup tags</li> <li>HTML uses markup tags to describe web pages</li></ul>

When a browser opens an HTML file, the browser will look for HTML <br>codes in the text and use them to change the layout, insert images, or create links to other pages. </dd> </dl> <center><h2> <font color="Blue">Element of HTML</font></h2></center> <ul > <li> Tag</li> <li> Attribute </li> </ul> <center><h2> <font color="Blue">Text Formatting Text </font></h2></center> <ol > <li> Font</li> <dl><dd><ol type="a"> <li> Attributes:</li> <dl><dd><ol type="i"> <li> Color</li> <li> face</li> <li>size</li></ol> </ol></dd></dl> <li> H1 </li> <dl><dd><ol type="a"> <li> Attributes</li> <dl><dd><ol type="i"> <li> align</li>

</ol> </ol> </dd> </dl> </ol> </body> </html>

Output:-

Das könnte Ihnen auch gefallen