Home  >  Article  >  Web Front-end  >  How to use hr horizontal line in HTML

How to use hr horizontal line in HTML

php中世界最好的语言
php中世界最好的语言Original
2018-02-05 09:41:554522browse

This time I will show you how to use the hr horizontal line in HTML. What are the precautions when using the hr horizontal line in HTML. Here is a practical case, let’s take a look.

The code is as follows:

<hr style="width:490px;" /> 
<hr size=8 style="COLOR: #ffd306;border-style:outset;width:490px;color:#CCC"> 
<hr size=1 style="COLOR:#ff9999;border-style:double;width:490px;color:#CCC"> 
<hr size=1 style="color: blue;border-style:dotted;width:490px;color:#CCC"> 
<hr size=1 style="width:490px;height:3px;border:none;border-top:3px double red;"> 
<HR align=center width=1 color=red size=100>

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 set input to read-only effect through disabled and readonly

html tags How should this be used

HTML's header tag metaHow to implement refresh redirection

html's form internal tag should how to use

The above is the detailed content of How to use hr horizontal line in HTML. For more information, please follow other related articles on the PHP Chinese website!

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