<!DOCTYPE html>
<html>
<body>
<h1>heading 1</h1>
<h2>heading 1</h2>
<h3>heading 1</h3>
<h4>heading 1</h4>
<h5>heading 1</h5>
<h6>heading 1</h6>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>This text is normal</p>
<b>This text is bold</b>
<p style="font-weight: bold;">This text is bold</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>This text is normal</p>
<strong>This text is bold</strong>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>This text is normal</p>
<i>This text is italic</i>
<p style="font-weight: italic;">This text is italic</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>This text is normal</p>
<em>This text is emphasized</em>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<h2>HTML<small>Small</small>Formatting</h2>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<h2>HTML<mark>Marked</mark>Formatting</h2>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>The del represents deleted text</p>
<p>My favorite color is <del>blue</del> red</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>The ins represents inserted text</p>
<p>My favorite color is <ins>blue and</ins> red</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>This is <sub>subscripted</sub> text</p>
<p>This is <sup>superscripted</sup> text</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>This is the first paragraph</p>
<p>This is the second paragraph</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>This is <br> the first <br> paragraph</p>
</body>
</html>
HTML에서는 1개 이상의 연속된 공백 (space) 과 1개 이상의 연속된 줄바꿈 (enter) 을 1개의 공백으로 표시함
연속된 공백을 삽입하는 방법
<!DOCTYPE html>
<html>
<body>
<p>This is   the first     paragraph</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<h1>HTML</h1>
<p>HTML is a language for describing web pages</p>
<hr>
<h1>CSS</h1>
<p>CSS defines how to display HTML elements</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>Browsers usually insert quotation marks around the q element</p>
<p>English proverb :<q>No pains, no gains</q></p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>Browsers usually insert quotation marks around the q element</p>
<blockquote>
<p>English proverb :No pains, no gains</p>
</blockquote>
</body>
</html>