You have surely entered a website many times and seen that lines are used to separate paragraphs of text. Sometimes they are just lines of a uniform color, usually gray, but other times they become true works of art.
In order to put them on our website, we do not need to use pre-designed images by some graphic software. We have a simpler way to do it.
To be able to do this the language HTML provides us with the tag HR. The mere fact of putting this tag on a page causes a separation line to appear between paragraphs.
Let’s see what a page would look like HTML using this:
Text of paragraph one
Text of paragraph two
If we load it in our browser we will see that a line appears between the two paragraphs. This line normally runs from one side of the page to the other.
If we want to modify the properties of the separation line HR the languageHTML gave us (and I say gave) a set of attributes: width, noshade, size,… But all of them have become obsolete within the specification. Now, to modify its display, we must use the style sheets CSS. But we will leave this for another day…
