- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Why does a stray HTML end tag generate an empty paragraph?
The official HTML documentation states that you need to create a <p> element if the closing p i.e. </p> cannot be matched with existing </p> tag.
The HTML4 DTD states that the end tag </p> is optional for the p element, but the start tag <p> is required.
However, the SGML declaration for HTML4 states that OMITTAG is YES that means the start tag can be implied.
Advertisements