Knowee
Questions
Features
Study Tools

3 Write the HTML tag/attribute for the following:a) It specifies the language used within the document.b) It defines the title of the documentc) It is used to specify background color of the webpage.d) It is used to give the smallest level heading to the text.e) It is used to create a horizontal line.f) It is used to change the style , size and color of the text.g) It is used to centralize a segment of text.Q4 Describe the following tags:a) <br>b) <h1>c) <comment>d) <sub>e) <DL>

Question

3 Write the HTML tag/attribute for the following:a) It specifies the language used within the document.b) It defines the title of the documentc) It is used to specify background color of the webpage.d) It is used to give the smallest level heading to the text.e) It is used to create a horizontal line.f) It is used to change the style , size and color of the text.g) It is used to centralize a segment of text.Q4 Describe the following tags:a) <br>b) <h1>c) <comment>d) <sub>e) <DL>

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

  1. Here are the HTML tags/attributes for the following:

a) The "lang" attribute in the <html> tag specifies the language used within the document. For example: <html lang="en">

b) The <title> tag defines the title of the document. For example: <title>My First Web Page</title>

c) The "bgcolor" attribute in the <body> tag was used to specify the background color of the webpage. However, it is not supported in HTML5. Instead, CSS is used: <body style="background-color:blue;">

d) The <h6> tag is used to give the smallest level heading to the text. For example: <h6>This is a heading</h6>

e) The <hr> tag is used to create a horizontal line. For example: <hr>

f) The "style" attribute is used to change the style, size, and color of the text. For example: <p style="color:red; font-size:20px;">This is a paragraph.</p>

g) The "text-align" property in CSS is used to centralize a segment of text. For example: <p style="text-align:center;">This is a paragraph.</p>

  1. Here are the descriptions for the following tags:

a) <br>: The <br> tag inserts a single line break. It is an empty tag which means that it has no end tag.

b) <h1>: The <h1> tag defines the most important heading. HTML offers six levels of headings, <h1> is the highest and <h6> is the lowest.

c) <comment>: There is no <comment> tag in HTML. However, comments can be added in HTML using the following syntax: <!-- Write your comments here -->

d) <sub>: The <sub> tag defines subscript text. Subscript text appears half a character below the normal line, and is sometimes rendered in a smaller font.

e) <DL>: The <dl> tag defines a description list. The <dl> tag is used in conjunction with <dt> (defines terms/names) and <dd> (describes each term/name).

This problem has been solved

Similar Questions

HTML uses _________ to annotate documents. This is a way of marking up the content to identify specific HTML elements.

Select the CORRECT statements regarding HTML tagsThe <html> tag defines an HTML documentAnchor <a> tag is used to add hyperlinks to link from one page to another.<ol> tag allows adding lists with bullet points to the web page.The <p> tag adds a paragraph to the web page.<h1> to <h6> tags define HTML headings

Knowledge: Identify three essential components of an HTML document.Comprehension: Explain the purpose of the <a> tag in HTML and provide an example.Application: Create an HTML document with a table that includes at least three rows and two columns.Analysis: Compare and contrast the <div> and <span> elements in HTML.Synthesis: Develop a navigation bar using an unordered list (<ul>) in HTML.

Explain the following HTML Tags in HTMLa)       <textarea>b)      <select>c)       <hr>d)      <h6>e)      <br>f)        <audio>g)       <img>h)      <form>i)        <footer>j)        <video>

Question 1An HTML document begins with ______________.1 pointThe html tagThe DOCTYPE declarationThe head tagThe body tag

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.