Please enable JavaScript to use CodeHS

CS Glossary

Flashcards

Course:

Module:

Lesson:

Search:

HTML Formatting HTML

HTML provides several tags for formatting text on web pages.

HTML Headings HTML

HTML headings are titles or subtitles that you want to display on a webpage. HTML headings are defined with the `<h1>` to `<h6>` tags. `<h1>` defines the most important heading. `<h6>` defines the least important heading.

<p> Tag HTML

The `<p>` tag defines a paragraph. Browsers automatically add a single blank line before and after each `<p>` element.

<i> Tag HTML

The `<i>` tag defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic.

<b> Tag HTML

The `<b>` tag specifies bold text without any extra importance.

<hr> Tag HTML

This tag defines a thematic break in an HTML page (e.g. a shift of topic). The element is most often displayed as a horizontal rule that is used to separate content (or define a change) in an HTML page.

<br> Tag HTML

This tag inserts a line break.