Hr tag for html
Use the <hr> tag to define thematic changes in the content:
<h1>The Main Languages of the Web. </h1>
<p>HTML is the standard markup language for creating Web pages. HTML describes the structure of a Web page, and consists of a series of elements. html elements tell the browser how to display the content.</p>
<hr>
<p>CSS is the language that describes how HTML elements are to be displayed on screen or display, paper, or in other media. CSS saves a lot of work, because it can control the layout of multiple web pages all at once.</p>
<hr>
<p>For example, if you write a screenplay, novel, or even a blog post, you've just created something new. Once you put that creation out into the world and allow the public to access it, copyright law kicks in to help make sure that someone else can't steal a part of (or all of) your creation..</p>
Definition and Usage of hr tag
The <hr>
tag defines a thematic break in an HTML page (e.g. a shift of topic).
The <hr>
element is most often displayed as a horizontal rule that is used to separate content (or define a change) in an HTML page.
Browser Support
Element | CHROME | SAFARI | OPERAMINI | FIREFOX | INTERNET EXPLORER |
---|---|---|---|---|---|
<hr> | Yes | Yes | Yes | Yes | Yes |
0 Comments