A Learning Portal from Recruitment India
How can you open a link in a new browser window?
< a href = “url” target = “new”>
<a href = “url” target =”open”>
<a href = “url” target= “_blank”>
<a href = “url”.new>
Answer with explanation
Answer: Option CExplanation
<a href = “url” target= “_blank”>
Workspace
Which of the following element is used for highlighting content similarly to how a highlighter pen might be used on important text in a book?
em
strong
mark
none of the mentioned
Answer with explanation
Answer: Option CExplanation
The mark tag defines marked text and is used to highlight parts of your text.
Workspace
A/An _________ is essentially a macro that allows a short name to be associated with the replacement text.
Attribute
Entity
Comment
None of the mentioned
Answer with explanation
Answer: Option BExplanation
Reserved characters in HTML must be replaced with character entities. Characters, not present on your keyboard, can also be replaced by entities.
Workspace
All attribute declarations begin with the keyword ____________ followed by the element name, attribute name, attribute type, and default data information.
XML
SGML
ATTLIST
None of the mentioned
Answer with explanation
Answer: Option CExplanation
The ATTLIST declarations identify which element types may have attributes, what type of attributes they may be, and what the default value of the attributes are.
Workspace
Which of the following is not a difference between HTML and XHTML
Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
Tags and attributes are case-insensitive in HTML but not in XHTML
Special characters must be escaped using character entities in XHTML unlike HTML
None of the mentioned
Answer with explanation
Answer: Option DExplanation
All other options are correct.
Workspace
Firefox uses _________ rendering engine
WebKit
Gecko
Trident
Presto
Answer with explanation
Answer: Option BExplanation
Gecko is a web browser engine used in many applications developed by Mozilla Foundation and the Mozilla Corporation as well as in many other open source software projects. Gecko is free and open-source software subject to the terms of the Mozilla Public License version 2.
Workspace
Which of the following markup is correct?
i. is in error as tags cross
ii. is not since tags nest
<b><i>is in error as tags cross</b></i>
<b><i>is not since tags nest</i></b>
both i and ii
None of the mentioned
Answer with explanation
Answer: Option BExplanation
Tags in HTML are always nested.
Workspace
Who is Known as the father of World Wide Web (WWW)?
Robert Cailliau
Tim Thompson
Charles Darwin
Tim Berners-Lee
Answer with explanation
Answer: Option DExplanation
Tim Berners-Lee implemented the first successful communication between a Hypertext Transfer Protocol (HTTP) client and server via the internet in mid-November of 1989.
Workspace
What are Empty elements and is it valid?
No, there is no such terms as Empty Element
Empty elements are element with no data
No, it is not valid to use Empty Element
None of these
Answer with explanation
Answer: Option BExplanation
Empty elements are element with no data
Workspace