{"id":41546,"date":"2021-05-21T21:02:40","date_gmt":"2021-05-21T21:02:40","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=41546"},"modified":"2021-05-21T21:02:42","modified_gmt":"2021-05-21T21:02:42","slug":"web-design-not-using-br","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/web-design-not-using-br\/","title":{"rendered":"Web design: (not) using &lt;br&sol;&gt;"},"content":{"rendered":"\n<h2>Self-tutoring about web design: the tutor talks about one of his favourite tags.<\/h2>\n<p>\nI&#8217;m probably not the only fan of &lt;br\/&gt;. Usually, it creates a new line, no questions asked. It&#8217;s great for putting a gutter between two paragraphs, for instance &#8211; or is it?<\/p>\n<p>Mozilla suggests (see <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Element\/br\">here<\/a>) that the only valid reason to use &lt;br\/&gt; is to send the following text to the next line. Using it for bottom margins? Don&#8217;t: rather than br, use CSS to create a margin below the paragraph.<\/p>\n<p>I guess that makes sense. However, I like space, and I like creating it spontaneously. What if I just want space for no reason, without depending on another element that I may even change?<\/p>\n<p style=\"height:2em\"><\/p>\n<p>\n&lt; p style=&#8221;height:2em&#8221;&gt;&#60;&#47;p&#62;\n<\/p>\n\n\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about web design: the tutor talks about one of his favourite tags. I&#8217;m probably not the only fan of &lt;br\/&gt;. Usually, it creates a new line, no questions asked. It&#8217;s great for putting a gutter between two paragraphs, for &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/web-design-not-using-br\/\"> <span class=\"screen-reader-text\">Web design: (not) using &lt;br&sol;&gt;<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[837],"tags":[],"class_list":["post-41546","post","type-post","status-publish","format-standard","hentry","category-web-design"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/41546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=41546"}],"version-history":[{"count":22,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/41546\/revisions"}],"predecessor-version":[{"id":41568,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/41546\/revisions\/41568"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=41546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=41546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=41546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}