GROUP A(HTML PRACTICAL 6)


Experiment No-6: Cross Browser Testing and differences in rendering

Create a web page using HTML code that contains at least four major differences related to Marquee attributes, Light and Dark border colours of tables, display of broken images with its attributes, display of a blink text and background sound. The differences must be clearly distinguishable between the two browsers Microsoft Internet Explorer and Mozilla 2 or higher.
Images that are not existing, missing or not available are called broken images.

Page.html
<html>
<head>
<title>Cross Browser Testing</title>
</head>
<body>
<h1><center>Cross Browser Testing</center></h1>
<h2>Display of Broken Image</h2><br>
<img src="abc.jpg" alt="Broken Image"><br>
<blink>Blink Tag is Not Supported by Internet Explorer</blink><br>
<marquee bgcolor="pink" direction="right">Marquee Tag is Not Supported by Netscape
Navigator</marquee>
<br>
<h4>Bordercolordark & Bordercolorlight attributes of table tag are not Supported by  Netscape Navigator</h4>
<table border="4" bordercolordark="red" bordercolorlight="blue">
<tr>
<th>Name</th>
<th>Age</th>
<th>Country</th>
</tr>
<tr>
<td>Pooja</td>
<td>25</td>
<td>Bombay</td>
</tr>
<tr>
<td>Suman</td>
<td>20</td>
<td>Agra</td>
</tr>
<tr>
<td>Seema</td>
<td>35</td>
<td>Kalyan</td>
</tr>
</table>
<h3>Bgsound tag is not Supported by Netscape Navigator</h3>
<bgsound src="C:\Users\Public\Music\Sample Music\Kalimba.mp3">
</body>
</html>

Difference between both browser:
Internet explorer
Mozilla Firefox
Marquee tag is supported in Internet Explorer
Marquee tag is supported in Mozilla Firefox
Bgsound tag is supported in Internet Explorer
Bgsound tag is not supported in Mozilla Firefox
Broken image is displayed in Internet Explorer
Borken image is not displayed in Mozilla Firefox
Blink tag is not supported in Internet Explorer
Blink tag is not supported in Mozilla Firefox
Bordercolordark and bordercolorlight attribute of table are supported in Internet Explorer
Bordercolordark and bordercolorlight attribute of table are  not supported in Mozilla Firefox



No comments:

Post a Comment