HTML and CSS
|Description: A test of HTML and CSS|
|Number of Questions: 25|
|Created by: Aliensbrain Bot|
|Tags: HTML CSS Web Designing Web Development Internet Internet Technologies Style Sheets BBA / BBS / BCA Information Technology|
Which of the following tags in NOT related to creating a table?
The tt tag is used for displaying teletype of monospaced text. It is not related to the designing of a table.
Which of the following attributes of a textbox limits the number of characters it can hold?
The maxlength attribute specifies the number of characters that the user can enter in a textbox. This value can be more than the value specified for the 'size' attribute.
HTML documents are read and rendered by ________.
A Web browser like Internet explorer, Chrome or FireFox can interpret the set of HTML tags within the page in order to display the page on the screen as the page's creator intended it to be viewed. It recieves the HTML tags from the server, reads it and renders or creates the page on the client system accordingly.
Which of the following statements is FALSE regarding HTML tags?
HTML tags are not case sensitive. For example to create a paragraph we can write P or p. The tags in XML are case sensitive.
What can be defined as a white space between the cell content and its borders?
Cell padding is the white space between the cell content and its borders. It defines the distance between the cell text and the boundary of the cell.
Which of the following is NOT a valid HTML tag?
Heading is not a valid tag in HTML.
Which of the following is NOT an attribute of the img tag?
To define the size of the image, the correct attributes are width and height. Size is not a valid attribute of the img tag.
Which of the following is NOT a valid attribute for a frame target?
The _new attribute is not a valid html attribute.
Which attribute of the input tag is used to create a Text Box?
Input type=Text or simply input creates a standard textbox. This can also have a value attribute, which sets the initial text in the textbox.
Which of the following is NOT a value for the background-repeat property?
This is an invalid property value.
HTML is a subset of which of the following languages?
SGML or Standard Generalized Markup Language is the standard technology for defining generalized markup language for documents. HTML is an example of SGML based languages. SGML is not a language in itself but a description of how to specify a language.
Which of the following is NOT a valid statement with reference to CSS?
Style sheets are normally saved in external .CSS files not .CCS files.
Which of the following is NOT a valid attribute of the a(anchor) tag?
Link is an invalid attribute in the a(anchor) tag.
Which of the following is the correct syntax for making all the paragraph (p) tags bold?
The font-weight property sets how thick or thin characters in text should be displayed. It can be used to display the text in bold letters.
With reference to CSS, which font property is used to display the text in bold letters?
The font-weight property sets how thick or thin characters in text should be displayed. The 'bold' or 'bolder' properties can be used to display the text in bold letters.
Which of the following tags is used to display a heading in smallest size?
The h6 tag is the smallest heading tag. If some text is written inside a h6 and /h6 tag, it appears in bold but small letters. It can be used to display headings of a specific topic in a webpage.
Which html tag is used to divide an HTML document into different sections or parts?
The div tag defines a division or a section in an HTML document. It is also used to group block-elements to format them with CSS.
Which of the following statements is the correct syntax to create an email hyperlink?
We can use the mailto command in an A HREF link tag to create an email link. Clicking on the link will invoke the clients' email client automatically.
Which of the following is NOT a valid html form element?
Choice is not a valid html form element.
Which of the following statements is FALSE regarding !DOCTYPE declaration?
The !DOCTYPE declaration must be the very first thing in your HTML document, before the html tag.
Which of the following statements is FALSE regarding the class' selector in CSS?
The id selector is used to specify a style for a single, unique element whereas the class selector is used to specify a style for a group of elements. Unlike the id selector, the class selector is most often used on several elements.
Which of the following is NOT a valid attribute of the while creating a radio button using the input tag?
Selected is not a valid attribute of a Radio Button. To select a Radio Button the attribute checked is used.
Which tag is used to display the fullform of a abbreviation as a tooltip when the user places the mouse over it?
The acronym tag defines an acronym.An acronym can be spoken as if it were a word, example HTML, ASP, etc. By marking up acronyms we can give useful information to browsers, spell checkers, translation systems and search-engine indexers. It has been replace by the abbr tag in HTML 5
Which of the following is NOT a valid shape type with reference to ImageMap?
Oval is not a valid value for the shape type. Although we can create a circle using the 'circle' attribute.
Which of the following is tag is used to create an inline frame?
The HTML iframe tag is used to specify an inline frame. An inline frame allows us to embed another document within the current HTML document. We can use the iframe src attribute to specify the source of the other document, as well as other attributes to determine the height, width, scrolling properties, border, etc.