Which one of the following is true ?Question 7Select one:a.In HTML Shorthand can not be used for certain attributes.b.In XHTML Attribute values must not be enclosed by quotes.c.In HTML Certain elements don’t need a closing tag, in XHTML all elements must be explicitly closed.d.In CSS you can not have more than one of the same class on each page
Question
Which one of the following is true ?Question 7Select one:a.In HTML Shorthand can not be used for certain attributes.b.In XHTML Attribute values must not be enclosed by quotes.c.In HTML Certain elements don’t need a closing tag, in XHTML all elements must be explicitly closed.d.In CSS you can not have more than one of the same class on each page
Solution
The correct answer is c. In HTML, certain elements don’t need a closing tag, in XHTML all elements must be explicitly closed. This is because XHTML is a stricter and more XML-based version of HTML, and one of its rules is that all elements must be closed.
Similar Questions
.Which elements are mandatory in an XHTML document?a. doctype, html, head, body, and titleb. doctype, html and bodyc. doctype, html, head, and bodyd. doctype, html, title, and bodye. html, body24.What XHTML code is "well-formed"?a. <p>A <b><i>short</i></b> paragraphb. <p>A <b><i>short</i></b> paragraph</p>c. <p>A <b><i>short</b></i> paragraph</p>d. all of abovee. none of these25.Which attribute replaces the name attribute in XHTML?a. The src attributeb. The id attributec. Href
Which of the following is NOT a feature of HTML5?
Which of the following tags are NOT REQUIRED on every Web page?1 point<body><html><h1><head>
True or False: The following shows the correct usage of HTML code.<HTML> <head> <title> </title> </head> </body> <body></hmtl>
True or False: <html> is the first tag you should see in an HTML file.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.