FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WEB PAGE DESIGN AND PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which is an example of a closing tag in HTML?
A
/title/
B
</title>
C
title
D
<title?
Explanation: 

Detailed explanation-1: -An opening tag begins a section of page content, and a closing tag ends it. For example, to markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag <p> and close it with a closing paragraph tag </p> (closing tags always proceed the element with a /).

Detailed explanation-2: -The <hr> tag is an empty tag that does not require a closing tag.

Detailed explanation-3: -Element. An HTML element is defined by a starting tag. If the element contains other content, it ends with a closing tag. For example, <p> is starting tag of a paragraph and </p> is closing tag of the same paragraph but <p>This is paragraph</p> is a paragraph element.

Detailed explanation-4: -To create a header for a HTML document, we use the header tag. The opening header tag is <HEAD> and the closing header tag is </HEAD>.

Detailed explanation-5: -As part of an HTML element, HTML tags help web browsers convert HTML documents into web pages. For example, the <p> tag is used to organize text content into paragraph elements and the <img> tag is used to embed image elements.

There is 1 question to complete.