ITS-HTML&CSS
The _____ character is used to create a bookmark in an HTML document.
#
In CSS, the ______ character identifies a class selector.
.
Which of the following characters is used to create a closing tag?
/
Which of the following HTML tags is a stand-alone tag?
<br>
Which of the following tags is placed within a <head> tag of an html document?
<meta>
Which of the following elements is used to migrate to different pages of the Web site?
<nav>
Which of the following HTML list tags defines a numbered list?
<ol> and <li>
Building Forms
Building Forms
Which of the following selectors selects an element of the basis of its name
Element
What is the full form of XHTML?
Extensible HyperText Markup Language
Which of the following stylesheets will increase the page loading speed?
External
Which of the following CSS properties is used to specify bold characters?
Font-weight
Formatting Using CSS
Formatting Using CSS
Formatting Text
Formatting text
Getting Started With HTML
Getting Started with HTML
Which of the following properties specifies the space before the first line of the text?
Text-indentation
Which of the following properties will not work when the background-attachment property is set to fixed?
background-origin
How does a user specify an image as a link in HTML?
by placing the <img> tag inside the <a> tag
The _______ element is used for styling specified sections of an element.
pseudo
Which attribute specifies the relationship between an HTML document and the linked file?
rel
Which of the following is the required attribute of the <img> tag?
src
Which of the following paths is an absolute path?
/directory/filename
Which of the following pseudo classes selects the HTML elements that do not match the selector division?
:not(div)
In CSS, the "property: value" pair will be separated by _______.
;
The ______ tag adds comments in an HTML document.
<!--comment goes here-->
what should be the first statement of an HTML 5 document?
<!DOCTYPE html>
Which of the following tags is used to link a URL in an HTML document?
<a>
Which of the following HTML elements specifies its meaning to both the web browser and developer?
<aside>
Which of the following tags is used to introduce an item in a description list?
<dt>
Which of the following tags prints the title at the bottom of the webpage?
<footer>
Which of the following tags is used for a thematic break?
<hr>
What is the syntax of the image tag?
<img src="url">
What is the syntax for linking an external style sheet in an HTML document?
<link rel="stylesheet" href="filename.css">
Which of the following HTML tags specifies a paragraph in an HTML document?
<p>
Which of the following tables tags specifies cells of a table?
<td>
Which of the following HTML tags Groups the header content of a table?
<thead>
Which of the following HTML tags is deprecated fro HTML5?
<u>
How does one instruct the browser to control the page's scaling and dimensions within a meta tag?
By declaring name="viewport"
How does a user encode the form data while submitting it to the server?
By the enctype attribute.
How does a user display the linked document in the full body of the window?
By using _top
How does one minimize an HTML code?
By using a group selector
How does a user specify repetition of the background image in the horizontal direction?
By using background-repeat: repeat-x
How does a user specify the caption of a table in HTML?
By using the <caption> tag
How does one specify the caption of an image in HTML?
By using the <figcaption> tag
How does a user fix the position of the background image such that the image will not scroll with the rest of the page?
By using the background-attachment property.
How does a user link an HTML element with a stylesheet?
By using the class attribute
How does a user specify whether the text should be displayed in the small-caps or normal font?
By using the font-variant property
CSS Fundements
CSS Fundements
CSS Syntax and Selectors
CSS Syntax and Selectors
Which of the following CSS properties specifies the position of the table caption?
Caption-side
Which of the following specifies the relationship between two CSS selectors>
Combinator
Which of the following values of the background-size property resizes the background image to make it fully visible?
Contain
Which of the following is one of the layers of the CSS box-model?
Content
Creating Tables
Creating Table
Which of the following versions of the HTML is a barebones version?
HTML 1.0
HTML links
HTML links
Which of the following text-align property values stretches the lines so that each line has an equal width?
Justify
Which of the following points does one need to consider while creating a meta description?
Keywords and Length of the decription.
From where does the browser restart the content when it encounters a <br> tag?
Left Margin
Which of the following CSS properties is used to specify images as bullets?
List-style-image
Which of the following allows you to create your own vocabularies and extend your webpages with custom semantics?
Microdata
Which of the following CSS properties specifies the amount of space between the edges of the table cells and the content inside a table cell?
Padding
Which of the following specifies a special state of an element?
Pseudo class
Which of the following file paths is used to point the files according to their location with respect to the current file in HTML?
Relative
Which of the following attributes of the textarea element defines a visible number of lines in a text area?
Rows
How many level of heading are there in HTML?
Six
Consider the following code snippet: Statement 1</hr>Statement 2
Statement 1</hr>Statement 2
Which of the following is one of the attribute of an HTML script element?
Type
Which encoding scheme is deigned for backward compatibility with ASCII encoding?
UTF-8
Using Images
Using Images
Which of the following CSS properties is used to vertically align the content of a table?
Vertical-align
Which of the following is one of the target attribute in HTML?
_self
Which of the following pseudo classes selects a non-visited link?
a:link
Which of the following HTML attributes is a boolean attribute that indicates how the script should be executed?
async
Which of the following prevents the execution of border-spacing property in CSS?
border-collapse: collapse
How can a user specify rounded corner borders to an element in CSS?
border-radius
How does a user merge the two cells horizontally?
by declaring colspan=2
How does one load an external style sheet in CSS?
by using the @import rule
How does a user define weather cells inside a table will have shared or separate borders?
by using the border collapse property
Which of the following values of the text-align property set the content of the table header to the center?
corner, center
Which of the following is used to specify the color of a division element using an element selector?
div {color:value;}
Which of the following forms methods concatenates the form data with the url in the request?
get
Consider the following code snippet: span{ border: 2px red dashed; border-color: green; }
green
Which of the following values of the border-style property specifies a 3d grooved border
grove
______ is an attribute of the anchor tag that specifies the address of the destination.
href
Which path specifies that the file is located on level up from the current directory?
href="../filename"
The _____ attribute of the meta tag is used to refresh the page or to set a cookie.
http-equiv
Which of the following attributes is used while creating a bookmark link in HTML5?
id
How do most browsers depict active links by default?
in red with an underline.
Which of the following specifies the style of an HTML document within a style tag?
internal
Which of the following style sheets is defined within a head tag
internal
Which of the following form elements specifies a caption for a field element?
legend
Which of the following properties specifies the space between the lines of a text.
line-height
What is sued to specify the font used by a dialog box?
message-box
Which of the following specifies the position of the vertical shadow as 5px and the position of the horizontal shadow as 3px of a paragraph?
none of these
The _______ attribute turn on or off the validation of the form data.
novalidate
Which of the following HTML attributes prevents the execution of the dimensions of an image defined in the stylesheet?
style
In CSS, the _______ property is used to specify the case of letters.
text-transform
Which of the following attributes is used to define the language of the style sheet?
type
Which of the following image tag attributes specifies the image as a client-side image map?
usemap