<?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: Raghul</title>
    <description>The latest articles on DEV Community by Raghul (@sraghul_fe17c80d6b8c8023e).</description>
    <link>https://dev.to/sraghul_fe17c80d6b8c8023e</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%2F3958518%2Faac09294-05e3-4b03-b98c-cebfc315942a.png</url>
      <title>DEV Community: Raghul</title>
      <link>https://dev.to/sraghul_fe17c80d6b8c8023e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sraghul_fe17c80d6b8c8023e"/>
    <language>en</language>
    <item>
      <title>HTML &amp; CSS</title>
      <dc:creator>Raghul</dc:creator>
      <pubDate>Fri, 29 May 2026 14:44:34 +0000</pubDate>
      <link>https://dev.to/sraghul_fe17c80d6b8c8023e/html-css-20j8</link>
      <guid>https://dev.to/sraghul_fe17c80d6b8c8023e/html-css-20j8</guid>
      <description>&lt;p&gt;&lt;strong&gt;HTML&lt;/strong&gt;&lt;br&gt;
HTML stands for Hyper Text Markup Language.And HTML is used for creating and structuring web pages using tags and elements."Hypertext" refers to links that connect web pages to one another, either within a single website or between websites.A markup language is a computer language that uses tags or symbols to annotate a document, defining its structure, layout, and appearance, markup languages simply tell software how to display or interpret text.HTML uses "markup" to annotate text, images, and other content for display in a Web browser.&lt;br&gt;
&lt;strong&gt;How Does HTML Work?&lt;/strong&gt;&lt;br&gt;
When you type a website address into your browser, you’re requesting an HTML file from a server. That server sends the file back to your browser, which then reads the HTML code from top to bottom. As it reads, the browser interprets the tags to understand the structure and content of the page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Basic Structure of an HTML Document&lt;/strong&gt;&lt;br&gt;
Every HTML document follows a standard structure to ensure browsers can interpret it correctly. This fundamental layout consists of a few essential tags that set up the page.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;`&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;

    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Page Title&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;

    &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;This is a Heading&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;

    &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;This is a paragraph.&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/strong&gt;&lt;br&gt;
This declaration is the very first thing in your HTML document. It’s not an HTML tag itself, but an instruction that tells the browser which version of HTML the page is written in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; Element&lt;/strong&gt;&lt;br&gt;
The &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; tag is the root element of the page. All other elements are nested inside this tag. It acts as the main container for the entire document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; Element&lt;/strong&gt;&lt;br&gt;
The &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;element contains meta-information about the webpage—data that isn’t displayed directly on the page itself but is important for the browser and search engines&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt;: The text you place here appears in the browser tab and as the    title in search engine results.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;meta&amp;gt;&lt;/code&gt;: These tags provide metadata such as the character set, page description, keywords, and viewport settings for responsive design.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt;: This tag is used to link to external resources, most commonly CSS stylesheets that control the page’s visual appearance.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt;: This is used to embed or link to JavaScript files, which add interactivity to the site.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; Element&lt;/strong&gt;&lt;br&gt;
The &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; element contains all the visible content of the webpage—the text, images, videos, links, and everything else a user sees and interacts with. All your structural and content-related HTML tags will go inside the &lt;br&gt;
&lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt;tag.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML Tags&lt;/strong&gt;&lt;br&gt;
Tags are the keywords enclosed in angle brackets (&amp;lt; and &amp;gt;) that define how your content is formatted. Most tags come in pairs:&lt;/p&gt;

&lt;p&gt;An opening tag: &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt;&lt;br&gt;
A closing tag: &lt;code&gt;&amp;lt;/h1&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt;&lt;br&gt;
CSS stands for Cascading Style Sheets.CSS is the cornerstone of web design. It transforms plain HTML structures into visually captivating websites. It’s a language that allows web developers and designers to dictate the appearance of HTML elements.Think of HTML as the skeleton of a webpage, providing the basic content blocks. CSS is the stylish outfit, the makeup, and the overall aesthetic that brings the webpage to life. With CSS, you can control&lt;br&gt;
For Example:&lt;br&gt;
We can change colors and fonts,layout,backgrounds,animations and transitions and add interactive touches&lt;br&gt;
CSS makes websites visually appealing and user-friendly. Its key advantage lies in its separation of content (HTML) from presentation (CSS). This means you can update styles across an entire website with minimal changes to the code.  This efficiency saves time and makes website maintenance a breeze.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS Syntax&lt;/strong&gt;&lt;br&gt;
 Selectors:&lt;br&gt;
  Selectors are like special instructions for your browser, telling it which specific HTML elements you want to style. Common types of selectors include Element selectors, Class selectors, and ID selectors.&lt;br&gt;
 Properties:&lt;br&gt;
  Think of properties as the different features you want to change about your elements – like color, font size, background image, and many more.&lt;br&gt;
 Values:&lt;br&gt;
  Values are the specific adjustments you want to make to a property. For instance, you could set the color property to red or the font-size property to 16px.&lt;br&gt;
 Declarations:&lt;br&gt;
  A declaration is a single instruction for your browser. It combines a property with its chosen value, separated by a colon and ending with a semicolon.&lt;br&gt;
 Style Rules:&lt;br&gt;
  A style rule groups all your declarations for a specific selector within curly brackets {}. It tells the browser which elements to style and how to style them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where to Put Your CSS&lt;/strong&gt;&lt;br&gt;
There are three main places to include CSS in your website:&lt;/p&gt;


&lt;p&gt;Inline Styles:&lt;br&gt;&lt;br&gt;
 You can add style attributes directly within your HTML tags, but this method is the least recommended as it makes your code harder to maintain.&lt;br&gt;&lt;br&gt;
Internal Stylesheet:&lt;br&gt;&lt;br&gt;&lt;br&gt;
 You can place &lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt; tags within the &lt;/p&gt; section of your HTML document, defining styles specifically for that page.&lt;br&gt;&lt;br&gt;
External Stylesheet: &lt;br&gt;&lt;br&gt;
 The most common and organized method is to create a separate file with a .css extension. Then, you link that file to your HTML using a &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; tag within the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; section.

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
