Home > Web Front-end > HTML Tutorial > Understand the usage of html tag

Understand the usage of html tag

一个新手
Release: 2017-10-24 11:37:51
Original
3878 people have browsed it


HTML SPAN tag element syntax and usage ( tag tutorial)

  • html span tag directory

  1. Syntax and structure

  2. span tag usage instructions

  3. span tag application case

  4. Instance screenshot

  5. Summary

##1. span syntax and structure -

TOP
<span>内容</span>
Copy after login

2. Instructions for using the span tag -

TOP

1), re-cut the layout in p+CSS In construction technology, in addition to the p tag,

span tag layout2), span itself has nothing special, and usually the layout can use this tag layout.
3), they can also achieve the beautification effect we want by setting different styles on the span tag object.
4), characteristics, usually a pair of spans without any style, the height and width are adaptive content, the distance space occupied by this label will be as large as the capacity.

3. Span tag use case -

TOP
<span>我是php中文网!</span> <span>php中文网网址是m.sbmmt.com </span>
Copy after login

The above is the detailed content of Understand the usage of html tag. 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template