Skip to content

Instantly share code, notes, and snippets.

@tjhartline
Created June 7, 2022 18:58
Show Gist options
  • Save tjhartline/c8732f2d51c5c8818f65b5bb95d219aa to your computer and use it in GitHub Desktop.
Save tjhartline/c8732f2d51c5c8818f65b5bb95d219aa to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>
<!--This is what will be displayed at the top of your page-->
</title>
</head>
<body>
<h1>This is a Heading</h1>
<h2>This is my subheading
<ol type = "a"> This is an organized list
<!--the type = "a" swaps the 1., 2., 3., to a., b., c.-->
<li> item 1
<li> item 2
<li> item 3
<ul type = "square"> This is an unorganized list
<!-- type = "square" changes the shape of bullets from round to square-->
<li> item 1
<li> item 2
<li> item 3
<ul type = "disc"> This is another unorganized list.
<li> item
<li> item
<li> item
<div>
<h4> A <\div> works alot like the <\break> or <\p> syntax, as it creates a new line.
<p>This is a paragraph</p>
</body>
</html>
@tjhartline
Copy link
Author

Basic html5 syntax notes.

@afkvido
Copy link

afkvido commented Jun 7, 2022

This is actually a really good guide for beginnrs... however I think that you should add spacing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment