Html Elements

Photo by RetroSupply on Unsplash

Html Elements

What are HTML elements? In HTML, an element is a section of an HTML document. Some HTML elements represent visible components on a web page, such as text, images, or buttons, while others denote different sections of the page or provide meta-information about the document.

In the code itself, HTML elements are created with tags. An HTML tag consists of text between angle brackets (<>). For example, an HTML paragraph (p) element looks like this: Capture.PNG Common block-level elements include

to

(page headings)

    (unordered list)

      (ordered list)

      .

      Here’s an example of three block-level elements on a page, with colored backgrounds to show how they fill up space.

      Capture.PNG

      HTML Tags List Even though there are well over 100 elements in HTML5, you really only need to know a dozen or two to write HTML effectively. It also helps that most tag names describe what the element does, making them easier to memorize.

      Capture.PNG Capture2.PNG Capture3.PNG Capture4.PNG