selfstudys_com_file
selfstudys_com_file
7. If a web developer wants to add the description to an image he must use ………
attribute of <img> tag.
Ans: <alt>
10. ………………is used with elements that overlap with each other.
Ans: Positioning
5. Srccode specifies the HTML content of the page to show in the <iframe>
Ans:
6. The ‘controls’ attribute is not used to add play, pause, and volume.
Ans: False
a) <img>
b) <td>
c) <map>
d) <usemap>
3. A programmer wants to define range for age between 18 to 50, he will use a form
with following appropriate control.
a) number
b) compare
c) range
d) Textboxes
A B
Q.7. Programs.
<html>
<head>
<title>
Titan Fastrack
</title>
<style>
html(background-color:green;color:red;font-
p color:blue)
</style>
</head>
<body>
<p>
Fastrack is a fashion accessory retail brand in India. The company was launched in
1998 as a sub-brand of Titan Watches. In 2005, Fastrack was spun off as an
independent brand targeting the urban youth and growing fashion industry in
India. Fastrack began opening retail stores throughout the country.
</p>
</body>
</html>
2) Write Html5 code with CSS as follows-
Ans:
Coding:
<html> <head>
<title>
</title>
<style>
h1(background-color:orange;font-style:italic)
</style>
</head>
<body>
Enter Name
Enter Email id
</form>
</body>
</html>
Output:
Ans: Coding:
<html>
<head>
<title>
Country
</title>
<style>
ul{float:left)
ol{float:right)
</style>
</head>
<body>
<ol>
<li>Paris</li>
<li>London</li>
<li>India</li>
<li>Singpore</li>
</ol>
<ul>
<li>Singapore Zoo</li>
</ul>
</body>
</html>
Output:)