Html miscellaneous
- Which tag is not used if you want to indicate the importance of the phrase?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Tags like <h1> (including all headings from h1 to h6), <em> and <strong> can be used to indicate the importance of the phrase. The <i> is none other than a type of font displaced in italic bond by the browsers.
- Which of the following statement is not true?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
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 <html> in manndatory, 3) The basic building blocks of markup i.e. <html>, <head>, <title>, and <body> are must in one. 4) Last but not least, XHTML is case sensitive where as HTML is case in-sensitive.
- 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.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
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) <p></p> is paragraph tag closed with ending tag. <br/> is break tag whose closing is done either by a slash or right pointing angle bracket.
- __________ is the XML equivalent to strict HTML 4.01.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
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.
- Which of the following statement is true?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
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.