NEW
Font size
WorksheetsWeb Programming Essentials
Total questions: 15
Worksheet time: 8mins
What is the preferred way for adding a background color in HTML?
<body background="yellow">
<background>yellow</background>
<background color="yellow">text<background>
What is the correct HTML for creating a hyperlink?
What is the purpose of the
tag in an HTML document?The
tag is used to display the main content of the page.The
tag is used to contain meta-information about the HTML document.The
tag is for defining the layout of the webpage.The
tag is used to include images and videos in the document.How can you create an e-mail link?
How do I add scrolling text to my page?
<scroll>
<marquee>
<ciruler>
<tab>
What does CSS stand for?
Cascading Style Scripts
Creative Style Sheets
Cascading System Styles
Cascading Style Sheets
Which property is used to change the background color in CSS?
background-style
bg-color
color-background
background-color
What is the purpose of the 'alt' attribute in an tag?
The 'alt' attribute provides a link to the image source.
The 'alt' attribute describes the content of an image for accessibility and when the image cannot be displayed.
The 'alt' attribute specifies the image's file format.
The 'alt' attribute is used to define the image's size.
Which file controls how your frames will appear?
Frameset
Master Document
Template
Timeline
Which HTML tag is used to define an internal style sheet?
<script>
<css>
c.) none of them
<style>
Which is the correct CSS syntax?
body:color=black
{body;color:black}
{body:color=black(body}
body {color: black}
How do you display hyperlinks without an underline?
a {text-decoration:none}
a {underline:none}
a {text-decoration:no underline}
a {decoration:no underline}
What is the difference between class and ID selectors in CSS?
Class selectors are used for inline styles; ID selectors are used for external styles.
Class selectors (.) can target multiple elements; ID selectors (#) target a single unique element.
Class selectors are defined with a hash (#); ID selectors are defined with a dot (.).
Class selectors can only target one element; ID selectors can target multiple elements.
Which of the following is true about links by default?
An unvisited link is underlined and blue
A visited link is underlined and red
An active link is underlined and purple
All the above
Using which tag we insert an JavaScript in HTML page?
<JavaScript type="text/javascript">
<script type="text/javascript">
<JScript type="text/javascript">
<HTMLScript type="text/javascript">
