Computer Science, asked by aryan418440, 10 months ago

Write the steps to type a heading “My Friends'. Se
New Roman', font size 22 and make it bold and underlined
a heading 'My Friends'. Set the font type 'Times
Computer - Part-4-P-8
Teacher's Signature​

Answers

Answered by wonderboy1001
2

Answer:

<HTML>

<HEAD>

<TITLE>MY FRIENDS</TITLE>

</HEAD>

<BODY FONT SIZE=22 FONT TYPE=Times Computer -Part-4-P-8>

<H1><U>My Friends </H1></U>

</Body>

<HTML>

Explanation:

U can use this code to create a HTML project.

Answered by vishakasaxenasl
0

Answer:

Following is the HTML Code for the desired web page:

<!doctype html>

<html>

<head>

<style>

h2{

text-decoration: underline;

font-size: 22 px;

font-weight: bold;

}

</style>

</head>

<body>

<h2>My Friends</h2>

</body>

</html>

Explanation:

  • A heading can be created by the heading tags(<h1>, <h2>---</h5> ) where <h1> creates biggest heading and <h5> creates smallest one.
  • In the code above, we have used internal CSS by the style tag in which the following CSS properties are mentioned:
  1. text-decoration: This property decorates the text like underline, overline, line-through, etc.
  2. font-size: This is used to set the font of the text in pixels.
  3. Font-family: This property is used to set the font type of the text. It can take values like Times New Roman, Calibri, etc.
  4. font-weight: This property is used to make the text bold. It can take values like bold, bolder, etc.

#SPJ2

Similar questions