<?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: Faessal Sufi</title>
    <description>The latest articles on DEV Community by Faessal Sufi (@faessalsufi24).</description>
    <link>https://dev.to/faessalsufi24</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1208152%2F372baaa2-b619-45b6-a7ef-aea9b9a37985.jpg</url>
      <title>DEV Community: Faessal Sufi</title>
      <link>https://dev.to/faessalsufi24</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/faessalsufi24"/>
    <language>en</language>
    <item>
      <title>Beyond the Basics: CSS Selectors Unleashed</title>
      <dc:creator>Faessal Sufi</dc:creator>
      <pubDate>Thu, 30 Nov 2023 16:56:30 +0000</pubDate>
      <link>https://dev.to/faessalsufi24/beyond-the-basics-css-selectors-unleashed-4fga</link>
      <guid>https://dev.to/faessalsufi24/beyond-the-basics-css-selectors-unleashed-4fga</guid>
      <description>&lt;h2&gt;
  
  
  Do you know that selectors are the most important part of CSS?
&lt;/h2&gt;

&lt;p&gt;When we talk about CSS, most people will say or think that we know that yes, of course you know, but there is a catch: knowing the styling of HTML content is not only CSS. Let me explain. You might know how to style a webpage, and that's great, but when it comes to professionalism or advanced things, CSS selectors come into play. If you know how to select that particular element, then you can definitely do something out of the box.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of selectors:
&lt;/h2&gt;

&lt;p&gt;There are many types of selectors, but we will cover the most popular and widely used in industry. So let's get started!&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Universal selector
&lt;/h3&gt;

&lt;p&gt;As its name suggests, "universal" means it will select all the elements on a webpage and apply CSS to all of them. It is also widely used in industries.&lt;br&gt;
&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*{
styling 
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;example:&lt;br&gt;
This will remove the default padding and margin from the whole webpage.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*{
padding:0px;
margin:0px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Element Selector
&lt;/h3&gt;

&lt;p&gt;We are all familiar with HTML tags, right? When we need to select an element, or we can say an HTML tag, we use the element selector. It can be any element of HTML, but if we select an element, it will apply to all elements present on the page. Suppose we select a &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag and apply some CSS to it, then it will be applied to all the &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tags in the code.&lt;br&gt;
&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;element{
   styling
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;h1 {
  color: #1a047d;
  background-color: #949494;

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;One more thing: always write the colour in hex code format so that the website will look the same in every browser.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Class selector
&lt;/h3&gt;

&lt;p&gt;We'll be using the class selector most of the time to select the class and play with it. To select a class in CSS, we have to use &lt;code&gt;.&lt;/code&gt; before a class name, and it is good practice to reuse the classes in HTML to avoid repeating code.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.class_name{
Your CSS
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;code&gt;btn&lt;/code&gt; is the name of the class&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.btn{
  color: #eae8f1;
  background-color: #f38b8b;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. ID selector
&lt;/h3&gt;

&lt;p&gt;There are some times we are only required to style a unique element in these types if case &lt;code&gt;ID&lt;/code&gt; comes into the picture. It allows us to style and select the element using ID, and we have to use &lt;code&gt;#&lt;/code&gt; before mentioning ID.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#ID_name{
styling
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;code&gt;school&lt;/code&gt; is the name of the ID&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#school{
  margin: 0;
  padding: 0;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  5. AND selector or chained selector
&lt;/h3&gt;

&lt;p&gt;This selector is interesting. Supposing somebody said, "I want a cup of coffee and bread," what would you give him? Both right? same in this case of the AND selector, it will select the element only if it satisfies all the conditions. Let's understand with an example.&lt;br&gt;
This is a code snippet we'll be working on.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; &amp;lt;ul&amp;gt;
            &amp;lt;li class="text-orange"&amp;gt;Home&amp;lt;/li&amp;gt;
            &amp;lt;li class="text-blue sans-serif" id="bg-white"&amp;gt;Services&amp;lt;/li&amp;gt;
            &amp;lt;li class="text-orange" id="bg-black"&amp;gt;About Us&amp;lt;/li&amp;gt;
            &amp;lt;li&amp;gt;Contact Us&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this case, suppose we have to target the 'li', which has the class &lt;code&gt;text-orange&lt;/code&gt; and ID 'bg-black'. This condition will only satisfy if a &lt;code&gt;li&lt;/code&gt; has a class named &lt;code&gt;text-orange&lt;/code&gt; and an ID named &lt;code&gt;bg-black&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.class1.class2{
styling
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;li.text-orange#bg-black {
  background-color: #cbf8cb;
  color: #0000ff;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Output&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi1n073um9meehlzg57sm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi1n073um9meehlzg57sm.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Combined selector
&lt;/h3&gt;

&lt;p&gt;When we have to target more than one element, we use the grouping selector. We can use it to select multiple elements, like two or more classes, IDs, elements, or a mixture of those. Let us understand it by example.&lt;br&gt;
&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class_name, ID_name, element{
styling
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.text-orange,
#bg-black,
h2 {
  color: #720000;
  background-color: antiquewhite;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Output&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8jlafy3kiedlpkg4eop1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8jlafy3kiedlpkg4eop1.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  7.Inside an element selector
&lt;/h3&gt;

&lt;p&gt;Sometimes there might be a scenario where you have to target a specific element that is inside another element. In this case, we use the inside element selector. It's very simple; we just have to put space between those elements.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;element1 element2 element3{

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nav ul li {
  color: blueviolet;
  background-color: #4f3636;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this case it will search for a &lt;code&gt;nav&lt;/code&gt; and then &lt;code&gt;ul&lt;/code&gt; and finally &lt;code&gt;li&lt;/code&gt;&lt;br&gt;
&lt;em&gt;Output&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftgcazy98z5yx9cermoiw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftgcazy98z5yx9cermoiw.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  8. Direct child selector
&lt;/h3&gt;

&lt;p&gt;This is useful to select the direct child element. Let me explain: suppose we have to select a particular element that is inside some elements. In this case, we use the direct child selector. Let us understand it with the help of an example.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;element1 &amp;gt;element2 &amp;gt;element3{

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div &amp;gt; span {
  color: #ffff00;
  background-color: #fe8223;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F676rhgtv2hthgvcahfro.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F676rhgtv2hthgvcahfro.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  9.Siblings 
&lt;/h3&gt;

&lt;p&gt;There are two types of siblings: direct siblings and adjacent siblings. We can target direct siblings with &lt;code&gt;+&lt;/code&gt; and adjacent siblings with &lt;code&gt;~&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;element1 + element2{
styling
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;h3 + p {
  color: #fe8223;
  background-color: #4f3636;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F42o56e6ymo7fpl7c2rgo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F42o56e6ymo7fpl7c2rgo.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Adjacent sibling Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;element1 ~ element2{
styling
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;h3 ~ li {
  color: #27fe23;
  background-color: #201f1f;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fodmbtpz3ztks9s7mebn2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fodmbtpz3ztks9s7mebn2.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Pseudo-elements
&lt;/h2&gt;

&lt;p&gt;Some people find the pseudo element a little tricky, but no worries, I'm here to help you out. There are many pseudo-elements, but as of now, we'll cover only &lt;code&gt;::before&lt;/code&gt; and &lt;code&gt;::after&lt;/code&gt; pseudo elements.Let me explain that a pseudo-element is a keyword that is added to a selector and lets you style a specific part of the selected element.&lt;/p&gt;

&lt;h3&gt;
  
  
  ::Before keyword
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Syntax&lt;/em&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;selector::pseudo-element {
  property: value;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
When we use &lt;code&gt;::before&lt;/code&gt; It will add the style before the selected element. In this case, we have added "🔗"before the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;a::before {
  content: "🔗";
  display: inline-block;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Output&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn3grra646asibammpv4r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn3grra646asibammpv4r.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  ::After keyword
&lt;/h3&gt;

&lt;p&gt;If we use &lt;code&gt;::after&lt;/code&gt; It will add the style after the selected element. In this case, we have added "🔗"after the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;a::after{
  content: "🔗";
  display: inline-block;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Output&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm043j7rev96wxx8de7o9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm043j7rev96wxx8de7o9.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Easy peasy, right? That's for today. I'll catch you in the next article with some interesting topics.&lt;/p&gt;

</description>
      <category>iwritecode</category>
      <category>css</category>
      <category>html</category>
      <category>beginners</category>
    </item>
    <item>
      <title>HTML Essentials: Unveiling the Basics of Structure and Key Tags</title>
      <dc:creator>Faessal Sufi</dc:creator>
      <pubDate>Tue, 14 Nov 2023 20:33:15 +0000</pubDate>
      <link>https://dev.to/faessalsufi24/html-essentials-unveiling-the-basics-of-structure-and-key-tags-2f6m</link>
      <guid>https://dev.to/faessalsufi24/html-essentials-unveiling-the-basics-of-structure-and-key-tags-2f6m</guid>
      <description>&lt;h2&gt;
  
  
  What is a web server?
&lt;/h2&gt;

&lt;p&gt;A web server is not always a big rack; it can be software as well as hardware. It stores all the files that are required to view a web page on a browser.&lt;br&gt;
The most popular web server is Apache, which serves 67% of the total websites all around the world. It is a software-based web server.&lt;br&gt;
The reason a web server exists is to serve us the web page we want. Let's support you. You have to visit the Google website now. What will you do? You will open the browser and type &lt;a href="http://www.google.com"&gt;www.google.com&lt;/a&gt;. Correct? So in this case, you typed the URL and requested the server for a web page, which is Google, and your request is sent via HTTP (Hyper Text Transfer Protocol), and then the server checks or searches the URL in the system; it will send you the response and serve the web page to you.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Apache?
&lt;/h2&gt;

&lt;p&gt;Apache is one of the most powerful web server softwares till now, and the reason developers like it is that it is open source, highly customised, and gives so much freedom to a developer. That's the reason 67% of the world's websites are served by Apache.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a live server?
&lt;/h2&gt;

&lt;p&gt;I can bet! When you started your coding journey and watched a YouTube tutorial, they just told you to go and install the extension called Live Server, and you're ready to go. It will automatically refresh the page, but have you ever thought How is it happening? Why?&lt;br&gt;
When we open a webpage without any live server, the current state of the web page is loaded into memory, and it gets served to you. If you make any changes later on, it will not show directly because the old state is being served to you and the browser is not aware that the file has been changed. If we refresh the page, then we can see the changes. To automate this task, live servers are made. It is nothing but a piece of code that tracks the file, and if any changes are made to the file, it will refresh the page. It is all done by a script that is embedded in your code while serving you. This is how a live server actually works.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is HTML?
&lt;/h2&gt;

&lt;p&gt;HTML stands for hypertext markup language. It is used to make the structure of a webpage. Most people ignore the learning part of HTML because they think we know that.&lt;br&gt;
But there is a catch: if you want to rank your website on Google, you must know the basics and fundamentals of HTML, which help a lot to rank a website, so that the Google algorithm can know what you are actually serving on your webpage. In this way, you can optimise your website.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML's basic structure You might know that using the emmet abbreviation, we can generate the boilerplate of HTML using "!" and Tab/Enter.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YNWYY3le--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e1y3km1xubdp61ehpafk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YNWYY3le--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e1y3km1xubdp61ehpafk.png" alt="Image description" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Some HTML tags: We have a heading tag to showcase the heading for a webpage, and we can have a total of 6 levels of headings from h1 to h6. H1 is the biggest heading, and H6 is the smallest heading.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KIa4Go_8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nx0s0vbr6lm3lnr93a9l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KIa4Go_8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nx0s0vbr6lm3lnr93a9l.png" alt="Image description" width="800" height="514"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;We also have the &lt;code&gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;/code&gt; tag to write the paragraph or long text. Every p tag takes its own line; it is mostly used to write long text on a website.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Let's talk about an important tag, which is the &lt;code&gt;&amp;lt;img src="" alt=""&amp;gt;&lt;/code&gt; tag. Which takes two parameters? One is required, which is source or src, and the other is alt. The purpose of using alt is that if our image fails to load, then the value in alt will be displayed on the screen so that the user can understand that the picture belongs to nature, space, etc.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We also have a size attribute to adjust the size of the image with the source set to show more than one image. Its tag looks something like this: &lt;code&gt;"&amp;lt;img src="" alt="" sizes="" srcset=""&amp;gt;"&lt;/code&gt; We can give one or more source strings separated by commas to give multiple values.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>html</category>
      <category>iwritecode</category>
    </item>
  </channel>
</rss>
