basic html website code example
Example 1: start html
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Example 2: simple html website coding
<!DOCTYPE html>
<html>
<head>
<style>
body {background="purple";}
</style>
<title>Page Title<title>
</head>
<body>
<h1>Yay</h1>
<p>yay is a word used to describe that your happy!</p>
</body>
</html>
Example 3: basic html document
<!DOCTYPE html>
<html lang="pt-br" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>...</title>
</head>
<body>
...
<script type="text/javascript" src="script.js"></script>
</body>
</html>
Example 4: what should i use for html
You can both use notepad(Pc), TextEdit(Mac) but thats not really good
so i would probably use atom, sublime text or visual studio code
Example 5: how to start a html file
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Example 6: html site
<center>
<h1>The a tag</h1>
</center>
<a href="https://arnav.tcode.in">Visit Acode(Learn HTML{For free[Easy]})</a>
<p>Note: this will not work on files if you are on a external website</p>