Advertisements
Advertisements
Question
Assertion (A): <br> is a container tag.
Reason: HTML elements that have both opening and closing tags are considered container tags.
Options
Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).
Both Assertion (A) and Reason (R) are true and Reason (R) is not the correct explanation of Assertion (A).
Assertion (A) is true, but Reason (R) is false.
Assertion (A) is false, but Reason (R) is true.
Solution
Assertion (A) is false, but Reason (R) is true.
Explanation:
<br> is the Line Break element. The <br> HTML element inserts a line break (carriage-return) into the text. It is beneficial when composing a poem or addressing where the line division is important.
APPEARS IN
RELATED QUESTIONS
The HTML tag used to make the text italics is ______.
Assertion (A): In HTML, Tags written in lowercase letters or uppercase letters are treated as the same.
Reason (R): HTML is a case sensitive language.
Write the difference between alink and vlink.
Illustrate the use of the radio button input type on an HTML form with an appropriate code and the corresponding output.
What is the difference between <br> tag and <p> tag in the context of HTML? Illustrate using suitable examples.
Which of the following tag can be used to draw a horizontal line on a webpage?
Write a suitable HTML statement to display the following text on a webpage in appropriate subscript and superscript form:
CO2
Write a suitable HTML statement to display the following text on a webpage in appropriate subscript and superscript form:
X2
Ronaldo, a web designer in a start-up company, wants to give headings on a webpage through <h1> tag. Additionally, he wants to implement the following styles on all the <h1> tags of the same webpage in one go.
- Color-blue
- Background color-yellow
- border of the heading - 2px in red
He is not able to implement the above-mentioned additional styles <h1> of tag through regular HTML code. Suggest him a way out and also help him in writing the code for the same.
Write HTML code to design the content of the web page in the form of lists as shown below:
STREAM WISE CAREER OPTIONS
|