Coder Social home page Coder Social logo

html-cheat-sheet's Introduction

► Overview of Content in Index_01 & Idex_02 html file:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Title Here</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <!-- Your content goes here -->
    <script src="script.js"></script>
</body>
</html>
  • <!DOCTYPE html>: Declares the document type and version of HTML.
  • <html>: The root element of an HTML page.
  • <head>: Contains meta-information about the HTML document.
    • <meta charset="UTF-8">: Sets the character encoding to UTF-8.
    • <meta name="viewport" content="width=device-width, initial-scale=1.0">: Enables responsive design.
    • <title>: Sets the title of the HTML document.
    • <link rel="stylesheet" href="styles.css">: Links an external stylesheet.
  • <body>: Contains the content of the HTML document.
  • <script src="script.js"></script>: Links an external JavaScript file.

Useful HTML Tags:

  1. Text Tags:

    • <h1> to <h6>: Headings.
    • <p>: Paragraph.
    • <span>: Inline container for text.
    • <br>: Line break.
    • <hr>: Horizontal rule.
  2. Formatting Tags:

    • <strong> or <b>: Bold text.
    • <em> or <i>: Italic text.
    • <u>: Underlined text.
    • <sub>: Subscript.
    • <sup>: Superscript.
  3. Lists:

    • <ul>: Unordered list.
    • <ol>: Ordered list.
    • <li>: List item.
  4. Links:

    • <a href="url">: Anchor for creating hyperlinks.
  5. Images:

    • <img src="image.jpg" alt="description">: Embeds an image.
  6. Forms:

    • <form>: Container for form elements.
    • <input>: Input field.
    • <textarea>: Multiline text input.
    • <select>: Dropdown list.
    • <button>: Button.
  7. Semantic HTML:

    • <header>: Represents a header section.
    • <nav>: Represents a navigation menu.
    • <article>: Represents a self-contained content area.
    • <section>: Represents a section of content.
    • <footer>: Represents a footer section.

These are essential tags to create a basic and responsive HTML page. Customize and expand based on your specific project needs.

► Index_03.html = Headings & Pagraph :

image

► Index_04.html = Image, Video, Audio & Anchor Tag :

image

► Index_05.html = Forms, List & buttons :

image1 image2


CHEATSHEET: Made by AKASH HALDER

image image

image image

image image

image

Refer The above code to see some Applcation of these tags. Happy Coding 🚀


html-cheat-sheet's People

Contributors

diya0077 avatar nil369 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.