Recent Posts

Css Code Online Free Course




  • <style> - Defines CSS styles within an HTML document.
  • <style>
    Example:
    <style>body { background-color: lightblue; }</style>
  • <link> - Defines the relationship between the current document and an external resource (like a CSS file).
  • <link>
    Example:
    <link rel="stylesheet" href="styles.css">
  • <div> - A block-level container element often used for grouping content.
  • <div>
    Example:
    <div class="container">Content here</div>
  • <span> - An inline container element used for styling a portion of text or content.
  • <span>
    Example:
    <span style="color: red">Highlighted Text</span>
  • <header> - Represents the header of a page or a section.
  • <header>
    Example:
    <header>Website Header</header>
  • <footer> - Represents the footer of a page or section.
  • <footer>
    Example:
    <footer>Website Footer</footer>
  • <nav> - Represents a section of the document intended for navigation links.
  • <nav>
    Example:
    <nav><a href="#home">Home</a></nav>
  • <article> - Represents a self-contained, independent section of content.
  • <article>
    Example:
    <article>This is an article</article>
  • <section> - Represents a section in a document, typically with a heading.
  • <section>
    Example:
    <section>This is a section</section>
  • <aside> - Represents content that is tangentially related to the content around it.
  • <aside>
    Example:
    <aside>Related information</aside>
  • <main> - Represents the main content of a document.
  • <main>
    Example:
    <main>Main content goes here</main>
  • <h1> to <h6> - Represents headings of different levels (h1 is the largest, h6 the smallest).
  • <h1> to <h6>
    Example:
    <h1>Main Heading</h1>
  • <p> - Defines a paragraph of text.
  • <p>
    Example:
    <p>This is a paragraph.</p>
  • <a> - Defines a hyperlink.
  • <a>
    Example:
    <a href="https://www.example.com">Click here</a>
  • <img> - Defines an image.
  • <img>
    Example:
    <img src="image.jpg" alt="Description">
  • <button> - Defines a clickable button.
  • <button>
    Example:
    <button>Click me</button>
  • <input> - Defines an input control for forms.
  • <input>
    Example:
    <input type="text" placeholder="Enter text">
  • <select> - Defines a drop-down list of options.
  • <select>
    Example:
    <select><option value="option1">Option 1</option></select>
  • <label> - Defines a label for an input element.
  • <label>
    Example:
    <label for="name">Name</label>
  • <form> - Defines an HTML form for collecting user input.
  • <form>
    Example:
    <form action="/submit"></form>
  • <textarea> - Defines a multiline input field.
  • <textarea>
    Example:
    <textarea rows="4" cols="50">Text area content</textarea>
  • <style> - Contains CSS rules to style an HTML document.
  • <style>
    Example:
    <style>body { background-color: lightgreen; }</style>
  • <link> - Links an external CSS file to an HTML document.
  • <link>
    Example:
    <link rel="stylesheet" href="styles.css">
  • <meta> - Provides metadata about an HTML document (e.g., character set, author).
  • <meta>
    Example:
    <meta charset="UTF-8">
  • <body> - Defines the body content of an HTML document.
  • <body>
    Example:
    <body>Content here</body>
  • <head> - Contains metadata and links to external files.
  • <head>
    Example:
    <head><title>Page Title</title></head>
  • <iframe> - Defines an inline frame for embedding other content, such as a video or another webpage.
  • <iframe>
    Example:
    <iframe src="https://www.example.com"></iframe>
  • <table> - Defines a table.
  • <table>
    Example:
    <table><tr><td>Row 1, Column 1</td></tr></table>
  • <th> - Defines a table header cell.
  • <th>
    Example:
    <th>Header</th>
  • <tr> - Defines a table row.
  • <tr>
    Example:
    <tr><td>Row 1, Column 1</td></tr>
  • <td> - Defines a table cell.
  • <td>
    Example:
    <td>Data</td>
  • <col> - Defines column properties for a table.
  • <col>
    Example:
    <col style="background-color:yellow">
  • <caption> - Defines a table caption (title).
  • <caption>
    Example:
    <caption>My Table</caption>
  • <thead> - Groups the header content in a table.
  • <thead>
    Example:
    <thead><tr><th>Header 1</th></tr></thead>
  • <tbody> - Groups the body content in a table.
  • <tbody>
    Example:
    <tbody><tr><td>Row 1, Column 1</td></tr></tbody>
  • <tfoot> - Groups the footer content in a table.
  • <tfoot>
    Example:
    <tfoot><tr><td>Footer</td></tr></tfoot>
    • CSS का महत्व उदाहरण के लिए: CSS (Cascading Style Sheets) वेब पेजों की स्टाइलिंग के लिए उपयोग किया जाता है, जिससे हम टेक्स्ट, रंग, लेआउट आदि को नियंत्रित कर सकते हैं। यह वेब विकास में एक महत्वपूर्ण कौशल है।
    CSS के मुख्य प्रॉपर्टीज़ का विवरण : बैकग्राउंड प्रॉपर्टी: यह प्रॉपर्टी वेब पेज के बैकग्राउंड का रंग, इमेज आदि सेट करने के लिए उपयोग होती है। बॉर्डर प्रॉपर्टी: इसका उपयोग तत्वों के चारों ओर बॉर्डर जोड़ने और उसकी स्टाइल, चौड़ाई, और रंग निर्धारित करने के लिए किया जाता है। फॉन्ट प्रॉपर्टी: यह प्रॉपर्टी टेक्स्ट के फॉन्ट फैमिली, साइज, वेट आदि को नियंत्रित करती है।

    Post a Comment

    Previous Post

    Next Post

    Recent Posts

    banner
    banner
    Author
    www.khabish.co.in
    Wellcome To www.khabish.co.in Hi my dear friends or viewers you can get information of many categories on www. khabish.co.in but www. khabish.co.in does not claim to be true or false. Be responsible
    banner
    banner

    Contact Form


    Contact Form