Html-Use simple <hr> to achieve a variety of segmentation effects

Source: Internet
Author: User
Tags dashed line

Most basic:

<!--which width specifies the length of the line, which can also be a percentage; color indicates a colour, and a size represents a thickness; align specifies the position of the line, with left, right, center;noshade to indicate whether there is a stereo effect--

Two gradient transparent:

--------------------------------------------------------------------------------

Right gradient transparent:

--------------------------------------------------------------------------------

Draw a dashed line:

--------------------------------------------------------------------------------

Draw two lines:

--------------------------------------------------------------------------------

Stereoscopic Effect:

--------------------------------------------------------------------------------

Spun hammer-shaped:

--------------------------------------------------------------------------------

Needle effect:

The properties of the

The attribute value describes the arrangement of the DTD Align Center left right to specify the horizontal line. TF NoShade NoShade When set to True, the horizontal line is rendered as a solid color (2D effect).

When set to False, the horizontal line is displayed as a two-color recess (3D effect).

TF size pixels% Specifies the thickness (height) of the horizontal line. TF width pixels% Specifies the width of the horizontal line. TF look at the following example

<HR align= "center" >

<HR size= "5" >

The display results are:

A horizontal line with no width set defaults to 100%, so the alignment of the first three bars does not see the effect

1, ordinary divider line:

2. Divider Width Properties:

3, Separation line position properties:

4, Separation line thickness properties:

5, Separator Line no shadow properties:

6. Separator Line Color properties:

7, Gradient color separation line:

8. Center Transparent dividing line:

9, the center opaque divider line:

10, wavy line:

11, Tri-Color line:

12, dashed line:

13, Vertical line:

Well, the source is not clear.

Html-Use simple

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.