हिंदी

Assertion (A): <br> is a container tag. Reason: HTML elements that have both opening and closing tags are considered container tags. - Computer Applications

Advertisements
Advertisements

प्रश्न

Assertion (A): <br> is a container tag.

Reason: HTML elements that have both opening and closing tags are considered container tags.

विकल्प

  • 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.

MCQ

उत्तर

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.

shaalaa.com
HTML tags
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2022-2023 (March) Set 4

संबंधित प्रश्न

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 equivalent inline CSS for the following HTML tag.

<body bgcolor="green">

HTML provides us with ______ levels of headings that can be inserted into a web page.


Write the difference between <ol> and <ul> tags in HTML. Also, write suitable examples of each to illustrate the difference.


What is the difference between <br> tag and <p> tag in the context of HTML? Illustrate using suitable examples.


Write the HTML code to design the web page as shown below, considering the specifications that follow. You can write the code for any four specifications out of the given six specifications.

Home Service

 

We are happy to provide you with all the help at your residence.
Special discount offers from (1st May 2022 to 30th June 2022).
Please contact us for the following services: Maid/Servant (Cleaning)
Maid/Servant (Cooking)
Driver
Queries: [email protected]

Specifications:

  • The background color of the page should be yellow and the text for the page should be in blue color.
  • Heading 'Homes Services' should be the first level of heading.
  • The image named 'service.png' should be placed on the web page.
  • The font size for the paragraph and the list of services should be 4 and the Font face should be Verdana. Superscript tags should be used wherever required.
  • The services (as shown in the above web page) should be written with the help of the unordered list.
  • The bottom-most line of 'Queries: help@ homeservices.com" should be a link to open the user's default mail client to send queries to the mentioned email id.

Events
The following events are scheduled to be held on 1st April 2023.
The timings are as follows:
1. 9.00 AM - 10.00 AM Flag Hoisting
2. 10.00 AM - 11.00 AM Painting Competition
3. 11.00 AM - 12.30 PN Dance Competition
4. 12.30 PM - 2.00 PM Closing Ceremony
For any queries contact [email protected]
Phone: 9999999999

Write the HTML code to design the above-shown web page titled 'Events', considering the specifications given below. You can write the code for any four specifications out of the given six specifications.

Specifications:

  • The background color of the page should be cyan, and the font face for the page should be Arial.
  • Heading 'Events' should be the first level of heading.
  • The font size for the paragraph and the list of products should be 5.
  • The schedule (as shown on the above web page) should be written with the help of the numbered list. Superscript tags should be used wherever required.
  • The bottom-most lines of 'For any queries ...' and 'Phone: .... ' should be on hold.
  • The contact email [email protected] should be a link to open the user's default mail client to send queries to the mentioned email id.

Link, vlink, alink are attributes of ______ tag.


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


Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×