We'll use this content to practice some basic HTML and CSS. Specifically, we'll cover:
Also referred to as as tags, HTML elements are special words enclosed in brackets that provide formatting and structure information for a document that will be displayed through software such as a Web browser.
Some people refer to HTML as code, or even programming, though it's really more of a "light" form of code known as Markup. HTML stands for HyperText Markup Language. When HTML is applied to a document, that process is known as "marking up" the document.
A typical HTML element has the following components:
Put those all together and you have an HTML element: <strong>POW!</strong> or <h1>Heading</h1>
Elements can also have attributes, which are added into the opening tag: <p class="intro">A paragraph with a class attribute.</p>
And some elements are "self closing", consisting only of an opening tag with a slash before its end bracket.<img src="imagename.jpg" />
There are many HTML elements available for use, which can be grouped by the functions they perform:
Also see: HTML Elements Ordered by Function
Put simply, semantic markup is using HTML elements for their intended purposes. It's a process that involves analysis of the content being marked up, making decisions about which elements are best suited for the different parts of a document, and applying those elements appropriately.
A good overview of semantic markup can be found here.