Visual Studio Code has eased coders for rapid web development. While coding in Visual Studio we do not have to write code again and again. There are a shortcuts to add above content easily to a HTML file. Some of the useful HTML shortcut codes
- html:5
Create a new HTML file in Visual Studio Code. Type html, from the intellisense dropdown, select html:5 and press enter key.
<!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>Document</title>
</head>
<body>
</body>
</html>
