7 May 2023

HTML Boilerplate

html
html boilerplate
basic structure of html

T
Written by

thatonevikash

Docs.dev - HTML Boilderplate

I am going to tell you a HACK! 😎

You can use shift + ! to generate HTML boiler plate in VS Code.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
</html>
ℹ️Note

The above block known as boiler plate.

<html lang="en"> , lang attribute used to define language ( eg: "en" ) <head> , contains all <meta> tags, <title>, internal <style> and external stylesheets <link> <body> , where you are going to spend your lot time to build layouts.

<body> tag is the display, which appears on the browser's screen.

Wait Where to see the previews?

Install live server extension. 🤓

live-server

Comments in HTML

<!-- Write your comment here! -->
💡Tip

use ctrl + / to comment in html

Written with 💖 by thatonevikash!