English

Write a suitable HTML statement to display the following text on a webpage in appropriate subscript and superscript form: X2 - Computer Applications

Advertisements
Advertisements

Question

Write a suitable HTML statement to display the following text on a webpage in appropriate subscript and superscript form:

X2

One Line Answer

Solution

X<sup>2</sup>
shaalaa.com

Notes

1 Mark for the correct statement.

HTML tags
  Is there an error in this question or solution?
2023-2024 (March) Board Sample Paper by shaalaa.com

RELATED QUESTIONS

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.


Write an HTML statement to illustrate the usage of alink and vlink attributes.


Write the difference between <dt> and <dd> tags.


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: help@homeservices.com

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.

Link, vlink, alink are attributes of ______ tag.


Mention any two purposes of using comments while designing a HTML webpage.


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

  • Science
    a. Engineering
    b. Medical
    c. Research
  • Commerce
  • Humanities

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.