Computer Science, asked by anwesha40, 8 months ago

write the HTML code to add yellow colour to the background of your web page and add heading 1 has A Journey to India that has to be aligned at centre. ​

Answers

Answered by anishasa
12

Answer:

Explanation:

<html>

<head>

</head>

<body style="background-color:yellow;">

   <h1 align="center">A Jouney to India</h1>

</body>

</html>

Answered by AskewTronics
4

Following are the HTML code for the above question :

Explanation:

<HTML><! ––HTML open tag ––>

<HEAD><! ––HTML open tag ––>

<TITLE>Website </TITLE>

</HEAD><! ––HEAD close tag ––>

<BODY BGCOLOR="YELLOW"> <! ––BODY open tag ––>

  <CENTER><h1>A Jouney to India</h1> </CENTER>

</BODY><! ––BODY close tag ––>

</HTML><! ––HTML close tag ––>

Output :

  • The above code prints a site on the browser displaying the one heading in the yellow background.

Code Explantion :

  • When any user wants to use the above code, then he needs to write the code in any text editor and save it with the help of name.html.
  • And then open this file with the help of any browser.
  • Then he gets a written heading in the center with the yellow background.

Learn More:

  • HTML : https://brainly.in/question/5393962
Similar questions