Home > Article > Web Front-end > Introduction to replaceable and non-replaceable elements
Replaced element
img | input | select | textarea | button | label | object
Replaceable element: The browser determines the Tags and attributes to determine the specific display content of the element. If you look at the (X)HTML code, you can't see the actual content of the image.
These elements have intrinsic dimensions (intrinsic dimensions), and they can set the width/height attributes. Their properties are the same as elements with display:inline-block set.
By default, CSS formats elements in the appearance range.
Non-replaced element
span, strong, em, br, etc.
Button | |
Define text that has been deleted in the document | |
Create an inline frame (i.e. inline frame) that contains another document | |
Tag defines text that has been inserted into the document | |
Client image mapping (i.e. hot zone) | |
object object | |
Client script |
The above is the detailed content of Introduction to replaceable and non-replaceable elements. For more information, please follow other related articles on the PHP Chinese website!