Practicing
HTML Basics

Module 2

screenshot of html code

Lorem ipsum dolor sit amet consectetur, adipisicing elit. Magni nam id beatae ipsa nesciunt ratione. Ipsum a qui quasi sit dignissimos, ut consectetur reprehenderit dolor inventore? Temporibus, ex molestiae. Sequi!

Heading (Headline) Elements
(<h1>...<H6>)

Headings are used to break up your webpage into distinct, key scetions (chapters).

Line Break Elements
(<br>)

Line breaks are used to break to a new line of text within a block such as a paragraph. In word, these would be called word breaks (shift + enter).

HTML Entities

Entities allow us to display special characters on our webpage. For instance, there are entities for ©, ™, ¥, and non-breaking  space.

Block vs Inline Elements

Block Elements

A block element separates itself form surronding content, creating a space both above and below it. By default, two block elements will appear one on top of the other.

Paragrpahs are block elements. Other blocks include: H1...H6, HEADER, FOOTER, P, DIV, UL, OL, LI, TABLE, SECTION, NAV, ARTICLE, ASIDE, HEADER, FOOTER , and others.

paragraph one

paragraph two

Inline (phrase) Elements

Inline elements are often, but not always, used within block elements. Inline elements, by default, will display side-by-side, in a line.

This paragraph contains some subscript and superscript text.

Common inline elements include: SUP, SUB, A, IMG, SPAN, EM, STRONG, and others.

Semantic HTML5 Elements

Semantic elements have the benefit of describing the content of the HTML file.

Common semantic,STRUCTURAL elements include: HEADER, FOOTER, MAIN, SECTION, ARTICLE, ASIDE, FIGURE, NAV, and FIGCAPTION.

Hyperlinks

Hyperlinks are created with anchor tags, the <A> element.

I enjoy playing and studying chess. I typically use...

The hyperlinks above are absolute paths. If you want to visit my main index page, you can use the relative path.


return to the top of the page

If you want to call me, call 541.111.1111. However email me at mfuentes2@cocc.edu for best communication.