0 votes
324 views
in HTML by (3.5k points)
edited

What are void elements in HTML?

1 Answer

0 votes
by (3.5k points)
edited
Some elements in HTML only need an opening tag, without the need for a close tag, and these are known as void elements. Some examples are <br />, <img />, <hr />, etc.

Related questions

0 votes
1 answer 364 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 335 views
0 votes
1 answer 378 views
0 votes
1 answer 323 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 316 views
asked Aug 21, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

Recent Badges

Doubtly Earned a badge
MrRam Earned a badge
Ritesh Maurya Earned a badge

5.7k questions

5.1k answers

108 comments

648 users

...