HTML Review

Eva Eunhye Kim
2 min readApr 2, 2021

I want to organize my learning about HTML

credit to Unsplash

Hypertext Markup Language- structural language

HTML tags represent different pieces of information such as headers, headings, articles, sections, paragraphs, divs, and more.

Tags are created by <>opening tag and </>; closing tag.

Most tags require closing tags, but some doesn’t; such as <img> tag or <br> they are self-closing tags but need “/” before you close the opening tag >.

<img src = "path/image.jpg" />

<!doctype HTML> : Very first line in every HTML document.

<html></html>: Every HTML page hast this tag. It always comes after the doctype tag. All of HTML tags should be put in between html tag.

<head></head>: This tag is filled with information about the page. In between opening and closing tags, you will find a title tag, link tag, or script tag. This will not be displayed on the page.

<body></body>: What we place in between this tags will usually be displayed on our page.

<div></div>: A generic container tag.

<p></p>: a paragraph of text.

<img src = “path/img.jpg” />: A self-closing tag that represents an image.

<section></section>: Represents a generic section of a page. It is not same as div tag, this represents a section of a page, whereas a div represent any sort of container.

<article></article>: A self-contained article on a page such as newspaper articles, blog posts, and forum posts.

<aside></aside>: Represents a portion of an HTML page content. Typically used for sidebars.

--

--