Why paragraphs are separated by p tags when writing rich text boxes

Why should paragraphs in rich text boxes be separated by p tags? can"t they be separated by div?


because the p tag originally means a paragraph, you can also use div. As long as the css attribute is consistent, you can express it in a more semantic way


for reasons similar to HTML5's new semantic tags such as section, header, nav, article, etc., but you can also keep using div, throughout the article, but in principle, it is no longer recommended


is not a technical reason. Upstairs @ Jilin makes it clear


semantic tags, non-mandatory

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bfcc-2c2bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bfcc-2c2bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?