which of the following is not an empty tag ?
1) <hr>
2) <br>
3) <title>
d) none of these
Answers
Answered by
1
Answer:
(1)
Explanation:
an element is said to empty if is doesn't contain any content in it.
Answered by
0
3) <title> is not an empty tag.
- An empty tag does not contain any content in them.
- There are 15 empty tags, these are also known as self-closing or void tags because they do not have a corresponding closing tag and they cannot contain other elements.
- Some examples are: <br>, <hr>, <input>, <img>, etc
- <title> is not an empty tag because it contains some content in it. It has an opening and closing tag
- A closing tag means the end of the content and is given by </title>
- Ex) <title> HELLO WORLD </title>. This will print "Hello world" in caps as a title to the page
- Hence option 3 is the correct option.
#SPJ2
Similar questions