This is the minimum for creating a web page:
<html>
<head>
<title>My Webpage</title>
</head>
<body>
content
</body>
</html>
This is the syntax of a tag:
<tag-name attribute-name1="value" attr2="value">content</tag-name>
There are multiple types of headers
<h1>This is mainly used for the main header</h1>
<h2>This is mainly used for sub-topics because it is a bit smaller</h2>
<h3>This is mainly used for sub-sub-topics</h3>
<h4>This is just smaller than h3</h4>
<h5>This is just smaller than h4</h5>
<h6>This is just smaller than h5</h6>
Create a new file called aboutme.html
. The name of HTML files follow the pattern [name].html
.
Fill it in with the basic webpage. Replace My WebPage
with About [name]
, where [name] is your name. The contents of the body are:
<h1>About [name]</h1>
<p>[description]</p>
Once you've filled in the placeholders, use VSCode to copy the path and paste it in a web browser!