Body tag
The content that you want to show on the page must be placed in the body
tag. Put a piece of HTML code from our previous Petrel and save it in an HTML-formatted file.
<! DOCTYPE html>"content-type" content="text/html; Charset=utf-8" /> <title> front End learning </title>
Open with a browser and look at the effect
Text Style LabelsText style labels are primarily used to decorate text in HTML pages, such as bold, italic, line style ...
<b></b>: bold <i></i>: Italic <u></u>: underline <s></s >: Strikethrough <sup></sup>: superscript <sub></sub>: Subscript
Directly on the code
<! DOCTYPE html>"content-type" content="text/html; Charset=utf-8" /> <title> text formatting tags </title> Front- End HTML<b> front-end html</b> <i> front-end html</i> <u> front-end html</u> <s> Front html</s> <sup> front html</sup> <sub> front html</sub> </body >
Browser Run Results
9.1.3 front-HTML body tag