H5 advanced inline tags

php中世界最好的语言
Release: 2018-01-10 09:17:59
Original
2218 people have browsed it

This time I will bring you H5's advanced inline tags. How to use H5's advanced inline tags? What are theprecautionswhen using H5's advanced inline tags? The following is a practical case, let's take a look.

Inline elementsshare one line with others, but setting the width and height is invalid. Its characteristics:

① and other elements are all on the same line

② high, the line height andouter marginandinner margincannot be changed;

③The width is the width of its text or picture and cannot be changed

④Inline elements can only accommodate text or other inline elements

The code is as follows:

    标签基础2 
无语义 加载失败 跳转 斜体强调作用 斜体强调作用 斜体强调作用 加粗强调
我爱你 你爱我
Copy after login

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!

Related reading:

How to create a drag-and-drop effect in H5

##About the incompatibility of older versions of browsers with H5 and C3 processing method

How to use postMessage in H5 to transfer data between two web pages

The above is the detailed content of H5 advanced inline tags. For more information, please follow other related articles on the PHP Chinese website!

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!