New Exclusive Deal:Up To 78% OFF a New Website
September 30, 2020
2 min read
HTML, short for Hypertext Markup Language, is a markup language used for creating web pages and content. It uses tags and attributes to mark up a web page.
It is not considered a programming language since it does not support conditional statements needed to create dynamic functionality.
A website comprises one or several HTML files that are readable by a web browser.
HTML5 is the latest version of the HTML language.
While both HTML and Cascading Style Sheets (CSS) are the cornerstone foundation blocks for building a website, each of them serves a different function in the website creation process.
HTML focuses on creating content for web pages. With tags and attributes, the language is responsible for structuring the content and linking various sources needed to support it.
Because of this, a website can function using HTML files only.
On the other hand, CSS is used to manipulate a website’s style, making the content appealing. Its abilities include modifying HTML elements’ color, font, and layout.
While CSS works when it is added to an HTML document, it doesn’t work vice-versa.
HTML tags, which are also known as HTML elements, set the structure of an HTML document.
Each tag has a different function, letting you establish a clear hierarchy that improves content readability.
There are two types of tags:
Here is what a basic HTML file looks like:
<title>Title of the page</title>
<!– Content HTML tags go here –>
There are four elements that an HTML file must contain:
Body tag (<body> </body>) — encloses the web page’s content like texts, images, links, and audio tracks.