{"id":3867,"date":"2024-04-15T14:46:55","date_gmt":"2024-04-15T12:46:55","guid":{"rendered":"https:\/\/pixelis.pl\/?p=3867"},"modified":"2024-04-15T15:11:32","modified_gmt":"2024-04-15T13:11:32","slug":"bw-html-tag","status":"publish","type":"post","link":"https:\/\/pixelis.pl\/en\/znacznik-b-w-html\/","title":{"rendered":"The &amp;#039; tag&#039;&lt;b&gt;&rsquo;&amp;#039; in HTML"},"content":{"rendered":"<h2 class=\"wp-block-heading\" id=\"h-czym-jest-znacznik-lt-b\">What is a tag <code>&lt;b&gt;<\/code>?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Marker <code>&lt;b&gt;<\/code> in HTML (Hypertext Markup Language) is used to make text bold. Its main purpose is to highlight certain parts of the text that may be important or to which we want to draw the reader&#039;s attention. Using this tag causes the text between the opening <code>&lt;b&gt;<\/code> and closing <code>&lt;\/b&gt;<\/code> will be displayed in bold.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-zastosowanie-znacznika-lt-b-gt\">Marker Application <code>&lt;b&gt;<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Marker <code>&lt;b&gt;<\/code> is often used to emphasize the importance of certain words or phrases in a context that does not require semantic meaning. That is, although the text is visually highlighted, it does not convey additional meaning of importance that would be interpreted by screen readers or other accessibility technologies.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-alternatywy-semantyczne\">Semantic alternatives<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-znacznik-lt-strong-gt\">Marker <code>&lt;strong&gt;<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For texts that are not only visually appealing but also have a greater semantic meaning, it is recommended to use the tag <code>&lt;strong&gt;<\/code>. Tag <code>&lt;strong&gt;<\/code> not only bolds the text, but also tells screen readers that the text has more importance, which can affect how information is communicated to people using these technologies.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-przyklad-uzycia-lt-b-gt-i-lt-strong-gt\">Example of use <code>&lt;b&gt;<\/code> i <code>&lt;strong&gt;<\/code><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;code&gt;&lt;p&gt;It is important to pay attention to &lt;b&gt;deadlines&lt;\/b&gt; deliveries.&lt;\/p&gt;\n&lt;p&gt;We recommend caution when handling &lt;strong&gt;hazardous materials&lt;\/strong&gt;.&lt;\/p&gt;\n<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In the first case we use <code>&lt;b&gt;<\/code>, to highlight a word in a graphic context, without giving it additional meaning. In the second example, we use <code>&lt;strong&gt;<\/code>, to indicate that the information is not only visually important, but is of crucial importance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-wnioski\">Conclusions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Although the marker <code>&lt;b&gt;<\/code> It&#039;s easy to use and effective at highlighting text on a website, but it&#039;s important to use it responsibly. Accessibility should be considered and HTML tools should be chosen appropriately to ensure that information is conveyed clearly and understandably to all users. In cases where the emphasis is also of crucial semantic importance, it&#039;s better to use <code>&lt;strong&gt;<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Czym jest znacznik &lt;b>? Znacznik &lt;b&gt; w HTML (Hypertext Markup Language) s\u0142u\u017cy do pogrubiania tekstu. Jego g\u0142\u00f3wnym celem jest wyr\u00f3\u017cnienie pewnych fragment\u00f3w tekstu, kt\u00f3re mog\u0105 by\u0107 istotne lub na kt\u00f3re chcemy zwr\u00f3ci\u0107 uwag\u0119 czytelnika. Zastosowanie tego znacznika powoduje, \u017ce tekst znajduj\u0105cy si\u0119 mi\u0119dzy otwieraj\u0105cym &lt;b&gt; a zamykaj\u0105cym &lt;\/b&gt; zostanie wy\u015bwietlony w pogrubionej formie. Zastosowanie znacznika [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[107,82],"tags":[],"class_list":["post-3867","post","type-post","status-publish","format-standard","hentry","category-z","category-slowni"],"_links":{"self":[{"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/posts\/3867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/comments?post=3867"}],"version-history":[{"count":0,"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/posts\/3867\/revisions"}],"wp:attachment":[{"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/media?parent=3867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/categories?post=3867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pixelis.pl\/en\/wp-json\/wp\/v2\/tags?post=3867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}