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

H5 learning journey-H5 formatting (4)

黄舟
Release: 2017-02-17 14:16:23
Original
1585 people have browsed it

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>
Copy after login
Copy after login

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>
Copy after login
Copy after login

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 (m.sbmmt.com) for more related content!



Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template