Blue wavy text in the style of early 2000's Microsoft Word art that reads Pepper's Page

Basic Terms & Syntax

HTML is a language, and as such it helps to build a foundation on the fundamentals found in key terminology and syntax associated with that language.

Terms

Basic elements and attributes we learnt in session. Also used in the construction of this site!

Term Definition
Heading <h1> to <h6> Used like a title or a subtitle. Useful for structuring the page.
Paragraph <p> Tag denoting sections of text in the form of paragraphs.
Line Break <br> Adds a blank line or break.
Links <a> Hyperlinks leading to other internal or external media and resources, such as other websites or images.
Image <img> Visual media, images.
Source (src) An attribute used to define the source file.
Alternative Text (alt) Shows a written description of the image. Useful either when the image can't be displayed by the browser, or as an accessibility feature as it can be read by screen readers.

Syntax

The basic construction of a sentence or line in HTML is generally as follows:

<tag name>Content in between<tag name>

It is important to remember to close your tag at the end of the phrase in most cases.

However, there are some elements that don't require closing. These are known as "Empty Elements", such as a line break, <br>, or the image tag, <img>.