Inline elements cannot set the height and width. So how are the height and width of each element and text in the inline element calculated?
Can block elements be included in inline elements?
The width and height of inline elements are determined by the self-supporting content
According to unwritten front-end specifications Speaking of which, it is best not to include block attribute elements in inline elements, which may cause the browser to parse the structure abnormally
The width and height of inline elements are determined by the self-supporting content
According to unwritten rules According to the front-end specifications, it is best not to include block attribute elements in inline elements, which may cause the browser to parse the structure abnormally