Home >
Article > Web Front-end > Why is there no
Unlike HTML 4.01, HTML 5 does not support the tag. The tag causes the text font size to be reduced to the browser's minimum font size. For example, using the tag in text with a large font size will change the font size to medium. In HTML5, this element was repurposed to represent sidebars and small font size. It also supports global attributes and event attributes in HTML
Conversely, the tag will make the font size of the text one size larger than the actual font size. Although this tag is not part of HTML 5, some browsers still support it. However, it is recommended that this tag is no longer used as some browsers may no longer support its use.
You can try running the following code to implement the element−
<!DOCTYPE html> <html> <body> <p>This sentence is of normal size.</p> <p><small>This sentence is of reduced size.</small></p> </body> </html>
When running this code, we get the above result
This sentence is of normal size. This sentence is of reduced size.
The above is the detailed content of Why is there no