Home  >  Article  >  Web Front-end  >  H5 learning journey-H5 formatting (4)

H5 learning journey-H5 formatting (4)

黄舟
黄舟Original
2017-02-17 14:16:231447browse

Format setting of H5:

b means bold

i italic

big font becomes larger

small Make smaller

ememphasize

strong Strengthen and make thick

sub Define subscript

sup Define superscript

ins Insert word

del Delete word

Code example

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <title>H5 Study</title></head><body bgcolor="#00ffff">
    <b>欢迎来到</b>
    <br/>
    <i>欢迎来到</i>
    <br/>
    <big>欢迎来到</big>
    <br/>
    <small>欢迎来到</small>
    <br/>
    <em>欢迎来到</em>
    <br/>
    <strong>欢迎来到</strong>
    <br/>
    啦啦<sub>欢迎来到</sub>啦啦    <br/>
    啦啦<sup>欢迎来到</sup>啦啦    <br/>
    <del>欢迎来到</del>
    <br/>
    <ins>欢迎来到</ins>
    <br/></body></html>

Rendering:

H5 learning journey-H5 formatting (4)

H5 format setting:

b represents bold

i italic

big font becomes larger

small becomes smaller

em emphasizes

strong Strengthening is almost the same as making it bold

sub Define subscripts

sup Define superscripts

ins Insert words

del Delete words

Code example

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <title>H5 Study</title></head><body bgcolor="#00ffff">
    <b>欢迎来到</b>
    <br/>
    <i>欢迎来到</i>
    <br/>
    <big>欢迎来到</big>
    <br/>
    <small>欢迎来到</small>
    <br/>
    <em>欢迎来到</em>
    <br/>
    <strong>欢迎来到</strong>
    <br/>
    啦啦<sub>欢迎来到</sub>啦啦    <br/>
    啦啦<sup>欢迎来到</sup>啦啦    <br/>
    <del>欢迎来到</del>
    <br/>
    <ins>欢迎来到</ins>
    <br/></body></html>

Rendering:

H5 learning journey-H5 formatting (4)

## The above is the H5 learning journey-H5 formatting (4 ), please pay attention to the PHP Chinese website (www.php.cn) for more related content!



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn