<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Keziah Devor</title>
    <description>The latest articles on DEV Community by Keziah Devor (@keizzey).</description>
    <link>https://dev.to/keizzey</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F984520%2F8c7d4962-b6a0-46c2-ad2d-554403e8a873.png</url>
      <title>DEV Community: Keziah Devor</title>
      <link>https://dev.to/keizzey</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/keizzey"/>
    <language>en</language>
    <item>
      <title>TIL; favicon| tables| difference between internal and external CSS styles| Lists</title>
      <dc:creator>Keziah Devor</dc:creator>
      <pubDate>Thu, 15 Dec 2022 07:55:12 +0000</pubDate>
      <link>https://dev.to/keizzey/til-favicon-tables-difference-between-internal-and-external-css-styles-lists-874</link>
      <guid>https://dev.to/keizzey/til-favicon-tables-difference-between-internal-and-external-css-styles-lists-874</guid>
      <description>&lt;ul&gt;
&lt;li&gt;Favicon; the small image displayed next to the page title in the browser tab.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example : &lt;code&gt;&amp;lt;link rel="icon" type="image/jpeg" href="./Mavensey.jpeg"/&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tables (&lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt;);&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The table tag helps to insert tables in a document(data in rows and columns). Table values include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;th&amp;gt;&lt;/code&gt; which define table headers&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;tr&amp;gt;&lt;/code&gt; which define table rows, and&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;td&amp;gt;&lt;/code&gt; which define the table data in a cell.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;thead&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;tbody&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;tfoot&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Table size&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Styling the size of a single cell, affects the styling of all the cells in the column of that cell. The width of a cell &lt;code&gt;&amp;lt;td&amp;gt;&lt;/code&gt; is specified in percentages.&lt;/p&gt;

&lt;p&gt;The height of a row &lt;code&gt;&amp;lt;tr&amp;gt;&lt;/code&gt; is specified in pixels.&lt;/p&gt;

&lt;p&gt;Column span &lt;code&gt;colspan&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Row span &lt;code&gt;rowspan&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Table caption &lt;code&gt;&amp;lt;caption&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Tables usually need styling(borders) to clearly separate the various cells.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Border-collapse: separate&lt;/li&gt;
&lt;li&gt;Border-collapse&lt;/li&gt;
&lt;li&gt;Border-spacing&lt;/li&gt;
&lt;li&gt;Border-radius&lt;/li&gt;
&lt;li&gt;Border-color&lt;/li&gt;
&lt;li&gt;Border-style&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Border-width&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Internal CSS style is defined using a style tag in an html file.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;External CSS style is defined in a separate css file and linked to the html file using the &lt;code&gt;link&lt;/code&gt; tag.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Padding and spacing&lt;/p&gt;

&lt;p&gt;Padding properties include; padding-left , right, top, bottom&lt;/p&gt;

&lt;p&gt;Cell Spacing(border-spacing) is the space between the cells&lt;/p&gt;

&lt;p&gt;Zebra stripes is a stylistic effect in a table that can easily be achieved using the ‘nth child’ selector.&lt;/p&gt;

&lt;p&gt;The ‘nth child(even or odd)’; is a css selector that enables you to select an html element based on its position within its parent.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Colgroup (&lt;code&gt;&amp;lt;colgroup&amp;gt;&lt;/code&gt;): this allows a user to efficiently style a number of cells in a column in a particular way. This tag is not always reliable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;NB: Rowgroups do not exist.&lt;/p&gt;

&lt;p&gt;Lists&lt;/p&gt;

&lt;p&gt;Unordered HTML lists (&lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt;); Allows a user to add lists to an html document when there is no required order for the list items.&lt;/p&gt;

&lt;p&gt;Ordered HTML lists(&lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt;); Allows a user to add lists to an html document in an ordered manner.&lt;/p&gt;

&lt;p&gt;List item(&lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt;;Allows the user to state the list data/particular list item&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Description list &lt;code&gt;&amp;lt;dl&amp;gt;&lt;/code&gt;; this is used to specify a list of items and their definitions.&lt;/li&gt;
&lt;li&gt;Description term &lt;code&gt;&amp;lt;dt&amp;gt;&lt;/code&gt;; specifies the specific term to be defined&lt;/li&gt;
&lt;li&gt;Description definition &lt;code&gt;&amp;lt;dd&amp;gt;&lt;/code&gt;; the definition of the term.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;List-style-type&lt;/code&gt;; Helps the user to specify the list style in a list.&lt;/p&gt;

&lt;p&gt;The list style types options include &lt;code&gt;disc&lt;/code&gt;, &lt;code&gt;circle&lt;/code&gt;, &lt;code&gt;square&lt;/code&gt; and &lt;code&gt;none&lt;/code&gt;, with &lt;code&gt;disc&lt;/code&gt; being the default style type.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nested lists; these are lists within a list.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The type attribute; allows the user to specify the type of numbering in an ordered list. Type attribute styles include &lt;code&gt;&amp;lt;type="1"&amp;gt;&lt;/code&gt;; which specifies numbers&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                                    `&amp;lt;type="i"&amp;gt;`; which specifies lowercase roman numerals

                                    `&amp;lt;type="I"&amp;gt;`; which specifies uppercase roman numerals

                                    `&amp;lt;type="a"&amp;gt;`; which specifies lowercase letters

                                    `&amp;lt;type="B"&amp;gt;`; which specifies uppercase letters
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>TIL; background-repeat | background-size | margin &amp; padding | p tag behavior</title>
      <dc:creator>Keziah Devor</dc:creator>
      <pubDate>Mon, 05 Dec 2022 09:56:33 +0000</pubDate>
      <link>https://dev.to/keizzey/til-background-repeat-background-size-margin-padding-p-tag-behavior-52a4</link>
      <guid>https://dev.to/keizzey/til-background-repeat-background-size-margin-padding-p-tag-behavior-52a4</guid>
      <description>&lt;h3&gt;
  
  
  Background-Repeat
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Background-Repeat is the feature where images in the background are repeated because these images do not stretch to cover the whole surface area of the text/paragraph.&lt;/li&gt;
&lt;li&gt;To disable background repeat …(continue this)&lt;/li&gt;
&lt;li&gt;here are the values that &lt;code&gt;background-repeat&lt;/code&gt; accepts:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;no-repeat&lt;/code&gt; ; this disables background repeating completely&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;repeat-x&lt;/code&gt;;this enables background repeating horizontally&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;repeat-y&lt;/code&gt;;this enables background repeating vertically&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;repeat&lt;/code&gt; ; this enables the background repeating both vertically and horizontally, this is the default &lt;code&gt;background-repeat&lt;/code&gt; value.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;h3&gt;
  
  
  Importance of single and double quotes around style values in an in-line style property
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Single quotes are introduced in an in-line style property which already has double quotes to prevent the browser from misinterpreting the beginning of the second double quote as the end of the first. For instance;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;    &lt;span class="nx"&gt;style&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;font-family:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="nx"&gt;verdana&lt;/span&gt;&lt;span class="dl"&gt;""&lt;/span&gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the instance above, the browser considers the double quotes before ‘verdana’ as the closing quote.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="nx"&gt;style&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;font-family:'verdana'&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Introducing single quotes within the double quotes helps the browser to correctly interpret the value the way the programmer intends.&lt;/p&gt;




&lt;h3&gt;
  
  
  Background-size
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The default value for background-size is ‘auto’.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Other values that can be used to resize a background image include;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Contain: This value spreads the background image in a way that, the full image is visible in the background.&lt;/li&gt;
&lt;li&gt;Cover: This value spreads the background image to cover the whole background, irrespective of whether the full image is displayed or not.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Margin and Padding
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The margin is the space around the border of a content.&lt;/li&gt;
&lt;li&gt;Padding denotes the space around a content, within the border.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;                                 &lt;span class="nt"&gt;margin&lt;/span&gt;
            &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nt"&gt;---------------------------------------------------&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
            &lt;span class="o"&gt;|&lt;/span&gt;                    &lt;span class="nt"&gt;padding&lt;/span&gt;                        &lt;span class="o"&gt;|&lt;/span&gt;
&lt;span class="nt"&gt;margin&lt;/span&gt;      &lt;span class="o"&gt;|&lt;/span&gt;   &lt;span class="nt"&gt;padding&lt;/span&gt;         &lt;span class="nt"&gt;text&lt;/span&gt; &lt;span class="nt"&gt;content&lt;/span&gt;       &lt;span class="nt"&gt;padding&lt;/span&gt;      &lt;span class="o"&gt;|&lt;/span&gt;      &lt;span class="nt"&gt;margin&lt;/span&gt;
            &lt;span class="o"&gt;|&lt;/span&gt;                    &lt;span class="nt"&gt;padding&lt;/span&gt;                        &lt;span class="o"&gt;|&lt;/span&gt;
            &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nt"&gt;---------------------------------------------------&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
                                  &lt;span class="nt"&gt;margin&lt;/span&gt;   
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Text decoration
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Default value for a text decoration is ‘none’&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Other values include ‘underline’, ‘strikethrough’, ‘overline’ , ‘line-through’.&lt;/p&gt;




&lt;h3&gt;
  
  
  Abbreviation tag ( )

&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;This tag allows the full meaning of an abbreviation to pop up when the abbreviation is hovered over. The user specifies meaning using the title attribute.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  p tag behavior when it has nested heading tags
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;the browser automatically closes the &lt;code&gt;p&lt;/code&gt; tag, when you place nested &lt;code&gt;h1 - h6&lt;/code&gt; tags within it. strange behavior, but it’s good to keep in mind so your css doesn’t cause you to pull your hair out.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  questions
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;what is the default value of the background repeat property in css?&lt;/li&gt;
&lt;li&gt;list the possible values that the &lt;code&gt;background-repeat&lt;/code&gt; CSS property accepts&lt;/li&gt;
&lt;li&gt;what are the possible values for the background-size property? and what effect do they have on the background?&lt;/li&gt;
&lt;li&gt;what is the default background-size value?&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>discuss</category>
    </item>
  </channel>
</rss>
