Free Video Course To Learn HTML5 - hr Tag
This video will introduce you to the hr tag, also known as the horizontal rule tag, and how you can still style it even in HTML 5. The HR tag or horizontal rule tag is used when you want to separate sections of your webpage with just a simple straight line going from one side of the page to the other. The tag itself is one of those single or empty tags that has the opening and closing all in one tag. In older versions of HTML, you could add some style to the line by making it a certain width or height and even color, and even specify if it were a solid or a dotted line. But since late HTML 4 and now in HTML 5, that method is no longer supported. Now it is styled in the cascading style sheet and not directly within the HR tag itself.
No comments:
Post a Comment