Starter Template

Boiler Plate - Basic html starter
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>title</title>
</head>
<body>
    
</body>
</html>

Html tags

  1. Heading Tag - Basic h1 to h6 tags
    <h1>This is h1</h1>>
    <h2>This is h2</h2>>
    <h3>This is h3</h3>>
    <h4>This is h4</h4>>
    <h5>This is h5</h5>>
    <h6>This is h6</h6>>
  2. Div tag - Leaves a line at the end
    <div>This is a paragraph. It is a block level elemnt</div>
  3. Paragraph tag
    <p>This is a paragraph. It is a block level elemnt</p>
  4. Span tag - Does not leave a line
    <span>This is span tag. It is an inline element</span>
  5. Anchor Tag - Used to add external links
    <a href="https://github.com/Vinayak2805">Visit my github profile</a>
  6. Image Tag - Used to add images
    <img src="vin.jpg" alt="Vin's Image">
  7. Text-styling tags - b, i, u, big, small
    <div>
        <b>Html</b>is a markup language. 
        <i>Italics</i>
        <u>Underlined</u>
        <big>This is big</big>
        <small>This is small</small>
    </div>
  8. Subscript and Superscript- To modify text
    <div>2<sup>2</sup> equals 4</div>
    <div>Water's chemical formula is H<sub>2</sub>O</div>
  9. hr(horizontal rule) and br(break line) tags
    <div>I am Vin. <br>This is a new line</div>
    <hr>
  10. pre tag - Used to display extra spaces between texts
    <pre>This     is
        me   .
    </pre>

Html Lists

Html Tables

Sample layout:

<table>
    <thead>
        <tr>
            <th>Name</th>
            <th>ID</th>
            <th>Income</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Tom</td>
            <td>2337</td>
            <td>$1</td>
        </tr>
        <tr>
            <td>Jerry</td>
            <td>2338</td>
            <td>$2</td>
        </tr>
    </tbody>
</table>

Html Forms

Forms are generally used in contact page - We can use forms to take users' input

<form action="backend.php">
    Name: <input type="text" placeholder="Enter your name">
    <br>
    Email: <input type="email" placeholder="Enter your email">
    <br>
    Message:
    <br>
    <textarea> name="message"cols="30" rows="5" placeholder="Type your querry here"</textarea>
</form>

Video Embedding

Videos can be embeded using video tags

<video src="vin.mp4" width="100px">Error</video>