HTML Tags

Some HTML tags describe the semantic structure and features of a web page.

Semantic tags

Semantic structure is mainly used for SEO (Search Engine Optimization) and accessibility.

<html>

    <head>
        <title>Wishtack Course</title>
    </head>

    <body>

        <h1>Wishtack</h1>

        <p>Wishtack is cool...</p>

    </body>

</html>

https://www.w3schools.com/html/html5_semantic_elements.asp

Component tags

Other tags are used to add components to the web page.

<!-- Link. -->
<a href="https://www.wishtack.com">Wishtack</a>

<!-- Image. -->
<img src="https://www.wishtack.com/logo.svg">

<!-- Form. -->
<form
        action="/submit"
        method="POST">

    <input
            name="userName"
            placeholder="Enter your name here"
            type="text">
    
    <button type="submit">Submit</button>
    
</form>

Last updated