Q: Which tag is used if you want to highlight something that is important to the reader?
Solution: The tag is used to make the text bold. The tag is used to highlight the importance of text. The tag is emphasis tag and is displayed in italic by browser. tag is used to write text in italic font.
Q: Which tag is not used if you want to indicate the importance of the phrase?
Solution: Tags like(including all headings from h1 to h6), and can be used to indicate the importance of the phrase. The is none other than a type of font displaced in italic bond by the browsers.
Q: Which of the following statement is not true?
Solution: XHTML is a markup language. There are certain terms and conditions (rules and regulations) for it. There are as: 1) In XHTML, the DOCTYPE is compulsory, 2) Xmlns attribute in in manndatory, 3) The basic building blocks of markup i.e. , ,, and are must in one. 4) Last but not least, XHTML is case sensitive where as HTML is case in-sensitive.
Q: According to the rules of XML and XHTML, all elements must be closed either with an end tag or by self-closing with space, slash, and a right-pointing angle bracket.
Solution: XML and XHTML are markup languages used for creating web pages. XHTML is case sensitive, and thus they must be closed either an end tag or by self-closing with a space, slash, and a right pointing angle bracket. Ex) is paragraph tag closed with ending tag.
is break tag whose closing is done either by a slash or right pointing angle bracket.
Q: __________ is the XML equivalent to strict HTML 4.01.
Solution: XML is a markup language while XHTML is a extensible hypertext markup language. XHTML 1.0 Strict is the XML equivalent to strict HTML 4.01, and includes elements and attributes that have not been marked deprecated in the HTML 4.01 specification.
Q: Which of the following statement is true?
Solution: HTML is hypertext markup language. There are many rules and regulations in HTML for attribute specification. HTML is case in-sensitive and thus we can write attribute name in either uppercase or lowercase, none of it is going to make difference. There is nothing like that atrribute name should be minimized, we can write attribute name as long as and as short as we want. The only rule for attribute name is that it should be in quoted form.
Q: The root element of an XHTML document must be html, and must contain an __________ attribute to associate it with the XHTML namespace.
Solution: The xmlns attribute specifies the xml namespace for a document. It is manadatory in XHTML while in HTML5 it is optional. The root element of an XHTML document must be html, and must contain an xmlns atrribute to associate it with the XHTML namespace.
Q: Which of the following encoding an XML parser assumes?
Solution: Basically parsers are used in softwares and they convert user data into machine data in short in memory form to use. In XML, parser is used to read XML. If an XML document lacks encoding specification, an XML parser assumes that the encoding is UTF-8 or UTF-16.
Q: __________ is an extended version of the XHTML markup language for supporting RDF through a collection of attributes and processing rules in the form of well-formed XML documents.
Solution: XHTML+RDFa (Extensible Hypertext Markup Language + Resource Description Framework in attributes) is an extended version of the XHTML markup language for supporting RDF through a collection of attributes and processing rules in the form of well-formed XML documents.
Q: XML is a markup language where documents must be marked up correctly.
Solution: XML is markup language while XHTML is extensible hypertext version of markup language. XHTML is HTML defined as an XML application. XHTML is stricter than HTML.
You Have Score    | /10 |