FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WEB PAGE DESIGN AND PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of these HTML tags is not a paired tag?
A
<html>
B
<title>
C
<a>
D
<br>
Explanation: 

Detailed explanation-1: -html unpaired tag: If any html tag has both opening and closing tag in a single tag, then such html tag is known as unpaired tag. Ex: br, hr, img, etc.

Detailed explanation-2: -An HTML tag is called an unpaired tag when the tag only has an opening tag and does not have a closing tag or a companion tag. The Unpaired HTML tag does not require a closing tag; an opening tag is sufficient in this type.

Detailed explanation-3: -There are two kinds of HTML tags: paired and unpaired. Paired tags require an opening tag that turns a formatting feature on and a closing tag that turns the feature off. Paired tags must surround the text you want formatted with that feature. For example, <u> and </u> will underline text.

Detailed explanation-4: -Most HTML tags come in pairs, an opening and closing set. The text to be formatted by the tags is written between the pair. It is essential for both tags to be present for the document to work correctly. All tags are enclosed in left and right angle brackets (<) and (>).

There is 1 question to complete.