Computer Applications
(i) Write a CSS code to display the first level heading text as My School in Green color and center-aligned.
(ii) Write the CSS code to display the following paragraph below the above mentioned heading :
This is my School
I study in class 12
The properties of the paragraph content should be as follows :
(I) Text color should be yellow
(II) Font size should be 25 px
(III) Font style should be bold
CSS
21 Likes
Answer
<HTML>
<HEAD>
</HEAD>
<BODY>
<H1 STYLE = "color: green; text-align: center; ">
My School
</H1>
<P STYLE = "color: yellow; font-size: 25px; font-weight: bold; ">
This is my School <BR>
I study in class 12
</P>
</BODY>
</HTML>
Answered By
17 Likes
Related Questions
Consider the following URLs :
https://www.practicepayment.com— URL1http://www.practicepayment.com— URL2(a) What is the difference between URL1 and URL2 ?
(b) Which of the two URLs will you prefer to use and why ?
(c) Expand www.
Write the equivalent CSS code to set the following styles for a web page :
(i) Entire page background color should be yellow
(ii) Second level Heading properties should be as follows :
- Text color should be Red
- Left margin should be 25 px
Write the full form of the following protocols :
(a) HTTPS
(b) TCP
(c) SSH
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.

Specifications :
- The background color of the page should be yellow and the text for the page should be in blue color.
- Heading 'Home Services' should be the first level of heading.
- The image named service.png should be placed on the web page.
- Font size for the paragraph and the list of services should be 4 and 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.