Last active
April 23, 2022 15:39
-
-
Save pikapower9080/e94bc109481749cc2cce7aac3ef2672b to your computer and use it in GitHub Desktop.
An example of some basic HTML formatting for my HTML tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Formatting Example</title> | |
</head> | |
<body> | |
<h1>HTML Formatting</h1> | |
<h2>Headings:</h2> | |
<h1>Heading 1</h1> | |
<h2>Heading 2</h2> | |
<h3>Heading 3</h3> | |
<h4>Heading 4</h4> | |
<h5>Heading 5</h5> | |
<h6>Heading 6</h6> | |
<h2>Text:</h2> | |
<p>This text is <strong>bold</strong>, and this text is <u>underlined</u>. This text is <em>italic</em> and this text is <s>crossed out</s></p> | |
<p>Check out this cool picture of a cat from <a href="https://en.wiktionary.org/wiki/cat" target="_blank">Wiktionary</a>!</p> | |
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/220px-Cat03.jpg"> | |
<h2>Actually... here's my top 5 reasons why dogs are better than cats:</h2> | |
<ol> | |
<li>They're cute</li> | |
<li>They actually love you</li> | |
<li>Because I said so.</li> | |
<li>Because they are</li> | |
<li>They won't cover your hands with scratch marks and ruin the furnature!</li> | |
</ol> | |
<p>Just kidding you can like whatever pet you want :)</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment