.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
Question
.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
Solution
-
The mandatory elements in an XHTML document are doctype, html, head, body, and title. So, the correct answer is a. doctype, html, head, body, and title.
-
A well-formed XHTML code must have opening and closing tags for each element. Therefore, the correct answer is b. <p>A <b><i>short</i></b> paragraph</p>.
-
In XHTML, the name attribute is replaced by the id attribute. So, the correct answer is b. The id attribute.
Similar Questions
Which HTML element is used to define the structure of an HTML document?Options<head><html><doctype><body>
Question 1An HTML document begins with ______________.1 pointThe html tagThe DOCTYPE declarationThe head tagThe body tag
xplain the difference between HTML and XHTML.
Question 2What are the tags that define the basic structure of an HTML page and which order is semantically correct?1 point<header>, <body>, <main><h1>, <body>, <footer><header>, <main>, <footer><header>, <details>, <footer>
3 Write the HTML tag/attribute for the following:a) It specifies the language used within the document.b) It defines the title of the documentc) It is used to specify background color of the webpage.d) It is used to give the smallest level heading to the text.e) It is used to create a horizontal line.f) It is used to change the style , size and color of the text.g) It is used to centralize a segment of text.Q4 Describe the following tags:a) <br>b) <h1>c) <comment>d) <sub>e) <DL>
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.