{"id":34539,"date":"2024-06-19T05:34:35","date_gmt":"2024-06-19T03:34:35","guid":{"rendered":"https:\/\/www.markhendriksen.com\/?p=34539"},"modified":"2024-06-19T05:34:36","modified_gmt":"2024-06-19T03:34:36","slug":"what-is-hr-in-html","status":"publish","type":"post","link":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/","title":{"rendered":"What is HR in HTML? Understanding and Using Horizontal Lines in Web Design"},"content":{"rendered":"\n<p>Have you ever wondered how to add those neat horizontal lines you see on websites? They\u2019re great for breaking up content and adding a touch of style. Well, you\u2019re in the right place! In this article, we\u2019ll dive into the world of HTML horizontal lines and show you how to use them like a pro.<\/p>\n\n\n<div class=\"gb-container gb-container-7ddc669d\">\n\n<h3 class=\"wp-block-heading\">Table of Contents<\/h3>\n\n\n\n<ul class=\"listsquare-listsquare-single wp-block-list\">\n<li><a href=\"#what\">What is an HTML Horizontal Line?<\/a><\/li>\n\n\n\n<li><a href=\"#how\">How to Use the &lt;hr&gt; Tag<\/a><\/li>\n\n\n\n<li><a href=\"#use-cases\">Practical Use Cases<\/a><\/li>\n\n\n\n<li><a href=\"#best-practices\">Common Mistakes and Best Practices<\/a><\/li>\n\n\n\n<li><a href=\"#advanced-tips\">Advanced Tips and Tricks<\/a><\/li>\n\n\n\n<li><a href=\"#separator-block\">Using the Separator Block in WordPress<\/a><\/li>\n\n\n\n<li><a href=\"#conclusion\">Conclusion<\/a><\/li>\n\n\n\n<li><a href=\"#resources\">Additional Resources<\/a><\/li>\n<\/ul>\n\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"what\">What is an HTML Horizontal Line?<\/h2>\n\n\n\n<p>So, let\u2019s start with the basics. An HTML horizontal line is created using the <code>&lt;hr&gt;<\/code> tag. Think of it as a simple way to draw a line across your webpage. It\u2019s a quick and easy way to separate sections of content. Here\u2019s a basic example:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;hr&gt;\n<\/pre><\/div>\n\n\n<p>Yep, it\u2019s that simple! Just <code>&lt;hr&gt;<\/code> and you\u2019ve got a horizontal line. But there\u2019s more to it than just that.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A Little History<\/h3>\n\n\n\n<p>The <code>&lt;hr&gt;<\/code> tag has been around since the early days of HTML. Back then, web design was pretty basic, and the <code>&lt;hr&gt;<\/code> tag was a handy tool for organizing content. Fast forward to today, and it\u2019s still useful, though we have a lot more styling options now.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how\">How to Use the &lt;hr&gt; Tag<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Basic Syntax<\/h3>\n\n\n\n<p>As we\u2019ve seen, the basic syntax is super straightforward:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;hr&gt;\n<\/pre><\/div>\n\n\n<p>But did you know you can customize it with attributes?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Attributes of the &lt;hr&gt; Tag<\/h3>\n\n\n\n<p>You can add attributes to change the look of your horizontal lines. Here are a few:<\/p>\n\n\n\n<ul class=\"listsquare-listsquare-single wp-block-list\">\n<li><strong>Width:<\/strong> Controls how wide the line is.<\/li>\n\n\n\n<li><strong>Size:<\/strong> Changes the thickness.<\/li>\n\n\n\n<li><strong>Color:<\/strong> Adds color to the line.<\/li>\n<\/ul>\n\n\n\n<p>Here\u2019s how you can use them:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;hr width=&quot;50%&quot; size=&quot;5&quot; color=&quot;#FF0000&quot;&gt;\n<\/pre><\/div>\n\n\n<p>And this is how it will look:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"50\" src=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Red-hr-line.jpg\" alt=\"Red hr line\" class=\"wp-image-34543\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Red-hr-line.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Red-hr-line-380x28.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Red-hr-line-300x22.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Red-hr-line-510x38.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Red-hr-line-190x14.jpg 190w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Styling with CSS<\/h3>\n\n\n\n<p>For even more control, you can style your horizontal lines with CSS. This is where things get fun! Check out this example:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n.custom-hr {\n    border: none;\n    height: 2px;\n    background-color: #333;\n}\n<\/pre><\/div>\n\n\n<p>And in your HTML:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;hr class=&quot;custom-hr&quot;&gt;\n<\/pre><\/div>\n\n\n<p>Now you\u2019ve got a sleek, custom horizontal line.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"54\" src=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Dark-divider-line-example.jpg\" alt=\"Dark divider line example\" class=\"wp-image-34545\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Dark-divider-line-example.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Dark-divider-line-example-380x30.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Dark-divider-line-example-300x24.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Dark-divider-line-example-510x41.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Dark-divider-line-example-190x15.jpg 190w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"use-cases\">Practical Use Cases<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Separation of Content<\/h3>\n\n\n\n<p>Horizontal lines are perfect for separating sections of content. They make your webpage easier to read and more visually appealing. For instance:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;h2&gt;Section One&lt;\/h2&gt;\n&lt;p&gt;Some content here...&lt;\/p&gt;\n&lt;hr&gt;\n&lt;h2&gt;Section Two&lt;\/h2&gt;\n&lt;p&gt;More content here...&lt;\/p&gt;\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"199\" src=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/2-sections-with-a-line-divider.jpg\" alt=\"2 sections with a line divider\" class=\"wp-image-34547\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/2-sections-with-a-line-divider.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/2-sections-with-a-line-divider-380x111.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/2-sections-with-a-line-divider-300x88.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/2-sections-with-a-line-divider-510x149.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/2-sections-with-a-line-divider-190x56.jpg 190w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/2-sections-with-a-line-divider-308x90.jpg 308w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Design and Aesthetics<\/h3>\n\n\n\n<p>They\u2019re not just functional\u2014they can also enhance your site\u2019s design. Imagine a stylish line under your headings or between paragraphs to add a touch of elegance.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"210\" src=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Example-with-horizontal-line.jpg\" alt=\"Example with horizontal line\" class=\"wp-image-34549\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Example-with-horizontal-line.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Example-with-horizontal-line-380x117.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Example-with-horizontal-line-300x93.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Example-with-horizontal-line-510x158.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Example-with-horizontal-line-190x60.jpg 190w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Example-with-horizontal-line-291x90.jpg 291w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><figcaption class=\"wp-element-caption\">This is an example of my Maven design, you can view the live demo <a href=\"https:\/\/www.markhendriksen.com\/product\/maven\/\">here<\/a>.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Accessibility Considerations<\/h3>\n\n\n\n<p>Don\u2019t forget about accessibility. Make sure your lines have enough contrast and consider using <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Accessibility\/ARIA\/Roles\" target=\"_blank\" rel=\"noreferrer noopener\">ARIA roles<\/a> if needed to ensure they\u2019re accessible to all users.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"best-practices\">Common Mistakes and Best Practices<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Common Mistakes<\/h3>\n\n\n\n<p>Here are some common pitfalls:<\/p>\n\n\n\n<ul class=\"listsquare-listsquare-single wp-block-list\">\n<li><strong>Using <code>&lt;hr&gt;<\/code> for layout:<\/strong> It\u2019s tempting, but horizontal lines are for decoration and separation, not layout.<\/li>\n\n\n\n<li><strong>Inconsistent Design:<\/strong> Keep your lines consistent with your overall design to avoid a cluttered look.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Best Practices<\/h3>\n\n\n\n<ul class=\"listsquare-listsquare-single wp-block-list\">\n<li><strong>Keep it simple:<\/strong> Less is more. Use horizontal lines sparingly.<\/li>\n\n\n\n<li><strong>Ensure readability:<\/strong> Make sure your lines don\u2019t interfere with the readability of your content.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-tips\">Advanced Tips and Tricks<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Responsive Design<\/h3>\n\n\n\n<p>Want your lines to look great on all devices? Use CSS media queries to make them responsive:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n@media (max-width: 600px) {\n    .custom-hr {\n        width: 100%;\n    }\n}\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Using SVG for Custom Designs<\/h3>\n\n\n\n<p>For something really unique, try using SVG. Here\u2019s a quick example:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;svg width=&quot;100%&quot; height=&quot;10&quot;&gt;\n  &lt;line x1=&quot;0&quot; y1=&quot;5&quot; x2=&quot;100%&quot; y2=&quot;5&quot; style=&quot;stroke:rgb(255,0,0);stroke-width:2&quot; \/&gt;\n&lt;\/svg&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"separator-block\">Using the Separator Block in WordPress<\/h2>\n\n\n\n<p>If you\u2019re using WordPress, you\u2019ve got a handy tool at your disposal: the Separator block. It\u2019s essentially a horizontal line, but it&#8217;s super easy to use and customize.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Adding a Separator Block<\/h3>\n\n\n\n<ol class=\"list-numbers wp-block-list\">\n<li><strong>Open the WordPress Editor:<\/strong> Create or edit a post or page.<\/li>\n\n\n\n<li><strong>Add a Block:<\/strong> Click the <code>+<\/code> button to add a new block.<\/li>\n\n\n\n<li><strong>Search for &#8220;Separator&#8221;:<\/strong> Type &#8220;Separator&#8221; in the search bar and select it.<\/li>\n<\/ol>\n\n\n\n<p>Voil\u00e0! You\u2019ve added a horizontal line to your content.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"255\" src=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Add-a-separator-block-with-WordPress.jpg\" alt=\"Add a separator block with WordPress\" class=\"wp-image-34552\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Add-a-separator-block-with-WordPress.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Add-a-separator-block-with-WordPress-380x143.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Add-a-separator-block-with-WordPress-300x113.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Add-a-separator-block-with-WordPress-510x191.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Add-a-separator-block-with-WordPress-160x60.jpg 160w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Add-a-separator-block-with-WordPress-240x90.jpg 240w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Customizing the Separator Block<\/h3>\n\n\n\n<p>Once you\u2019ve added the Separator block, you can customize it:<\/p>\n\n\n\n<ul class=\"listsquare-listsquare-single wp-block-list\">\n<li><strong>Styles:<\/strong> Choose between Default, Wide Line, or Dots.<\/li>\n\n\n\n<li><strong>Color:<\/strong> Change the color to match your theme.<\/li>\n\n\n\n<li><strong>Width:<\/strong> Adjust the width to make it fit your design.<\/li>\n<\/ul>\n\n\n\n<p>Here\u2019s how it might look:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n&lt;!-- Default Style --&gt;\n&lt;div class=&quot;wp-block-separator&quot;&gt;&lt;\/div&gt;\n\n&lt;!-- Wide Line --&gt;\n&lt;hr class=&quot;wp-block-separator has-css-class wide-line&quot;&gt;\n\n&lt;!-- Dots --&gt;\n&lt;hr class=&quot;wp-block-separator has-css-class dots&quot;&gt;\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"292\" src=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Separator-block-styling.jpg\" alt=\"Separator block styling\" class=\"wp-image-34553\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Separator-block-styling.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Separator-block-styling-380x163.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Separator-block-styling-300x129.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Separator-block-styling-510x219.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Separator-block-styling-140x60.jpg 140w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/Separator-block-styling-210x90.jpg 210w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<p>The WordPress Separator block makes it easy to add and style horizontal lines without touching any code, perfect for those who prefer a more visual approach.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>We\u2019ve covered a lot, from basic usage to advanced tips, and even how to use the Separator block in WordPress. By now, you should be ready to add some stylish horizontal lines to your website. So go ahead, experiment with different styles, and see what works best for you. And if you have any questions or cool designs to share, drop them in the comments below!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"resources\">Additional Resources<\/h2>\n\n\n\n<p>Looking to learn more? Here are some great resources to check out:<\/p>\n\n\n\n<ul class=\"listsquare-listsquare-single wp-block-list\">\n<li><strong><a href=\"https:\/\/blog.hubspot.com\/website\/blog\/tabid\/6307\/bid\/19727\/easy-html-tricks-for-the-non-technical-marketer.aspx\">HTML Tricks for Non-Technical Marketers<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/www.w3schools.com\/tags\/tag_hr.asp\">W3Schools <code>&lt;hr&gt;<\/code> Tag Reference<\/a><\/strong><\/li>\n<\/ul>\n\n\n\n<p>Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever wondered how to add those neat horizontal lines you see on websites? They\u2019re great for breaking up content and adding a touch of style. Well, you\u2019re in the right place! In this article, we\u2019ll dive into the world of HTML horizontal lines and show you how to use them like a pro. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34562,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"class_list":["post-34539","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is HR in HTML? A Comprehensive Guide to Using HTML Horizontal Lines<\/title>\n<meta name=\"description\" content=\"Learn everything about the HR tag in HTML! Discover how to use and style horizontal lines to enhance your web design.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is HR in HTML? A Comprehensive Guide to Using HTML Horizontal Lines\" \/>\n<meta property=\"og:description\" content=\"Learn everything about the HR tag in HTML! Discover how to use and style horizontal lines to enhance your web design.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/\" \/>\n<meta property=\"og:site_name\" content=\"Mark Hendriksen\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/madebymarkhendriksen\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-19T03:34:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-19T03:34:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"720\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mark Hendriksen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Hendriksen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/\"},\"author\":{\"name\":\"Mark Hendriksen\",\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/person\/d40c4ac37512479c71b48ad2879fb765\"},\"headline\":\"What is HR in HTML? Understanding and Using Horizontal Lines in Web Design\",\"datePublished\":\"2024-06-19T03:34:35+00:00\",\"dateModified\":\"2024-06-19T03:34:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/\"},\"wordCount\":821,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.markhendriksen.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg\",\"articleSection\":[\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/\",\"url\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/\",\"name\":\"What is HR in HTML? A Comprehensive Guide to Using HTML Horizontal Lines\",\"isPartOf\":{\"@id\":\"https:\/\/www.markhendriksen.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg\",\"datePublished\":\"2024-06-19T03:34:35+00:00\",\"dateModified\":\"2024-06-19T03:34:36+00:00\",\"description\":\"Learn everything about the HR tag in HTML! Discover how to use and style horizontal lines to enhance your web design.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#primaryimage\",\"url\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg\",\"contentUrl\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg\",\"width\":720,\"height\":400,\"caption\":\"What is hr in HTML\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.markhendriksen.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Development\",\"item\":\"https:\/\/www.markhendriksen.com\/web-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What is HR in HTML? Understanding and Using Horizontal Lines in Web Design\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.markhendriksen.com\/#website\",\"url\":\"https:\/\/www.markhendriksen.com\/\",\"name\":\"Mark Hendriksen\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.markhendriksen.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.markhendriksen.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.markhendriksen.com\/#organization\",\"name\":\"Mark Hendriksen\",\"url\":\"https:\/\/www.markhendriksen.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/01\/Mark-Hendriksen-Logo.png\",\"contentUrl\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/01\/Mark-Hendriksen-Logo.png\",\"width\":354,\"height\":40,\"caption\":\"Mark Hendriksen\"},\"image\":{\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/madebymarkhendriksen\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/person\/d40c4ac37512479c71b48ad2879fb765\",\"name\":\"Mark Hendriksen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1416c89ed4da57b902960a21b7fa25cb91558d39eff48c8b5017bd4c9bcc59a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1416c89ed4da57b902960a21b7fa25cb91558d39eff48c8b5017bd4c9bcc59a9?s=96&d=mm&r=g\",\"caption\":\"Mark Hendriksen\"},\"url\":\"https:\/\/www.markhendriksen.com\/author\/twopixels\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is HR in HTML? A Comprehensive Guide to Using HTML Horizontal Lines","description":"Learn everything about the HR tag in HTML! Discover how to use and style horizontal lines to enhance your web design.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/","og_locale":"en_US","og_type":"article","og_title":"What is HR in HTML? A Comprehensive Guide to Using HTML Horizontal Lines","og_description":"Learn everything about the HR tag in HTML! Discover how to use and style horizontal lines to enhance your web design.","og_url":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/","og_site_name":"Mark Hendriksen","article_publisher":"https:\/\/www.facebook.com\/madebymarkhendriksen","article_published_time":"2024-06-19T03:34:35+00:00","article_modified_time":"2024-06-19T03:34:36+00:00","og_image":[{"width":720,"height":400,"url":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg","type":"image\/jpeg"}],"author":"Mark Hendriksen","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mark Hendriksen","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#article","isPartOf":{"@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/"},"author":{"name":"Mark Hendriksen","@id":"https:\/\/www.markhendriksen.com\/#\/schema\/person\/d40c4ac37512479c71b48ad2879fb765"},"headline":"What is HR in HTML? Understanding and Using Horizontal Lines in Web Design","datePublished":"2024-06-19T03:34:35+00:00","dateModified":"2024-06-19T03:34:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/"},"wordCount":821,"commentCount":0,"publisher":{"@id":"https:\/\/www.markhendriksen.com\/#organization"},"image":{"@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg","articleSection":["Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/","url":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/","name":"What is HR in HTML? A Comprehensive Guide to Using HTML Horizontal Lines","isPartOf":{"@id":"https:\/\/www.markhendriksen.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#primaryimage"},"image":{"@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg","datePublished":"2024-06-19T03:34:35+00:00","dateModified":"2024-06-19T03:34:36+00:00","description":"Learn everything about the HR tag in HTML! Discover how to use and style horizontal lines to enhance your web design.","breadcrumb":{"@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#primaryimage","url":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg","contentUrl":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2024\/06\/What-is-hr-in-HTML.jpg","width":720,"height":400,"caption":"What is hr in HTML"},{"@type":"BreadcrumbList","@id":"https:\/\/www.markhendriksen.com\/what-is-hr-in-html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.markhendriksen.com\/"},{"@type":"ListItem","position":2,"name":"Web Development","item":"https:\/\/www.markhendriksen.com\/web-development\/"},{"@type":"ListItem","position":3,"name":"What is HR in HTML? Understanding and Using Horizontal Lines in Web Design"}]},{"@type":"WebSite","@id":"https:\/\/www.markhendriksen.com\/#website","url":"https:\/\/www.markhendriksen.com\/","name":"Mark Hendriksen","description":"","publisher":{"@id":"https:\/\/www.markhendriksen.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.markhendriksen.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.markhendriksen.com\/#organization","name":"Mark Hendriksen","url":"https:\/\/www.markhendriksen.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.markhendriksen.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/01\/Mark-Hendriksen-Logo.png","contentUrl":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/01\/Mark-Hendriksen-Logo.png","width":354,"height":40,"caption":"Mark Hendriksen"},"image":{"@id":"https:\/\/www.markhendriksen.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/madebymarkhendriksen"]},{"@type":"Person","@id":"https:\/\/www.markhendriksen.com\/#\/schema\/person\/d40c4ac37512479c71b48ad2879fb765","name":"Mark Hendriksen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.markhendriksen.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1416c89ed4da57b902960a21b7fa25cb91558d39eff48c8b5017bd4c9bcc59a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1416c89ed4da57b902960a21b7fa25cb91558d39eff48c8b5017bd4c9bcc59a9?s=96&d=mm&r=g","caption":"Mark Hendriksen"},"url":"https:\/\/www.markhendriksen.com\/author\/twopixels\/"}]}},"_links":{"self":[{"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/posts\/34539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/comments?post=34539"}],"version-history":[{"count":3,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/posts\/34539\/revisions"}],"predecessor-version":[{"id":34561,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/posts\/34539\/revisions\/34561"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/media\/34562"}],"wp:attachment":[{"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/media?parent=34539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/categories?post=34539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/tags?post=34539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}