Which of the following is not a correct (X)HTML rule?
A.Attributes should be quoted
B.Tags should nest not tag
C.Unused elements may be minimized
D.Unknown attributes are ignored by the browser
Answers
Option C is the correct answer, i.e., unused elements may be minimized.
XHTML stands for Extensible Hyper Text Markup Language. It is a mark up language that is used for making the HTML language easily flexible and compatible with all browsers. There are some specific set of rules that need to be followed while creating a code in XHTML. Let us discuss all the options in order to reach the correct answer.
A: Option A is not correct answer, as the rule mentioned in option A is a correct rule.
All the attributes in a XHTML statement must always be quoted, for example,
<a href="https://www.myhome.com/html/">Visit our Home </a>
B: Option B is not the correct answer, as the rule mentioned in option B is a correct rule.
All the HTML tags should be properly nested. For example:
<b><i>Hello</i></b>
D: Option D is not the correct answer, as the rule mentioned in option C is the correct rule.
Unknown attributes are ignored by the browser in XHTML.
C:Option C is the correct answer, as minimization is forbidden in XHTML.
<input type="checkbox" name="transport value="bike" checked="checked" />
For more related questions:
https://brainly.in/question/10561819
#SPJ6
Answer:
The correct answer is Option(D) , Unknown attributes are ignored by the browser.
Explanation:
Unknown attributes are ignored by the browser is not a correct (X)HTML rule.
The XHTML rules are as follows:
- 1) XHTML elements must be nesting appropriately.
- 2) All XHTML elements must be closed.
- 3) All XHTML elements must be written in lowercase.
- 4) Each XHTML page must have a single root element.
- 5) All attribute names must be written in lower case.
- 6) Values for attributes must be quoted.
- 7) Attribute minimization is strictly prohibited.
XHTML stands for Extensible HyperText Markup Language.
XHTML is an abbreviation for EXtensible HyperText Markup Language. XHTML is a more stringent, XML-based variant of HTML. XHTML is HTML that has been defined as an XML application. All major browsers support XHTML.
A rule, sometimes known as a "rule set," is a statement that instructs browsers on how to render specific components on an HTML page. A rule set is made up of a selector and a declaration block.
Find more like this here:
https://brainly.in/question/35335242
#SPJ6