Computer Science, asked by stusrinidhi14653, 1 day ago

1.Explain the following with the help of an example.
(a) <B>……..</B>
(b) <OL type =“1”> 2. Identify which one is an attribute or a tag?
1. Body
2. Type
3. Br
4. Link
5. Face

Answers

Answered by Anonymous
21

HTML Program

1. Explain the following with the help of an example.

(a) <B></B> : In HTML <b> tag is used to bold the text.

Let's take an example to bold any tag.

<!DOCTYPE html>

<html>

  <head>

           <title>Example for bold</title>

  </head>

   <body>

          <b>Eldarion</b>

  </body>

</html>

(b) <OL type = "1"> : In HTML, <ol> tag defines an ordered list. And, <ol type = "1"> defines the list items will be numbered with numbers.

Let's take an example to write items in ordered list.

<!DOCTYPE html>

<html>

   <head>

        <title>Example for ordered list</title>

  </head>

    <body>

    <ol type = "1">

             <li>Eldarion</li>

             <li>Andrew</li>

       </ol>

  </body>

</html>

2. Identify which one is an attribute or a tag.

1. Body : It is tag.

2. Type : It is a attribute.

3. Br : It is a tag.

4. Link : It is a attribute.

5. Face : It is a attribute.

Extra information

What is HTML?

- HTML stands for HyperText Markup Language. It is used to create websites. It is a Markup Language and not a Programming language. HTML describes the structure of a website. HTML elements are also known as tags. HTML tells the browsers how to display the content.

Some important tags in HTML:

  • <!Doctype> tag defines the document type.
  • <html> tag defines the HTML document.
  • <head> tag defines the information for the document.
  • <title> tag defines the title of the document.
  • <body> tag is defines the body of the document.
  • <h1> to <h6> tag is used for HTML headings.
  • <p> tag us used for paragraph.
  • <br> tag is used for insert a line break.
  • <b> tag is used for bold text.
  • <u> tag is used for underline text.
  • <i> tag is used for Italic text.
  • <hr> tag is used for horizontal line.

Learn more on Brainy.in

1. Bgcolor is Used to specify the path of the picture to be displayed in background in a webpage true/false

- brainly.in/question/32579060

2. Prateek wants to draw horizontal line on the webpage he is creating but he does not know which HTML tag he has to use for the same. Suggest him how to do this?

- brainly.in/question/41322460

Answered by vaibhavdantkale65
0

Answer:

HTML program

Explanation:

please mark as brinlist bro

Similar questions