5 Interesting Things About HTML5

5 Interesting Things About HTML5

Hyper Text Markup Language (HTML) is a widely used markup language for developing web pages. You can easily create your own website with HTML as it is easy is very easy to use and learn. Here are some simple things you need to know about HTML5.

HTML tags starts with <> and ends with </>

All the HTML tags should be terminated like this:

<html>

<head>

</head>

<body>

<title>

</title>

</body>

</html>

It’s the basic flow of the html code.

No Compilation Error

HTML is not a programming language so you will not come across any compile-time error during coding.Your code will work or there will be a blank page but you can’t see any error with HTML.

For eg:

<html>

<head>

THIS IS HEAD SECTION

<body>

</body>

</head>

</html>

The code will still works but fuctionality won’t work as you want.

Embed CSS Code Easily

You can also decorate your text by embeding CSS to your HTML code with <style> tag.

<html>

<style>

Head{text-color:RED;

Text-weight: bold;

}

</style>

<head>

My Header

</head>

</html>

 

Add your <header> tag

Don’t get confused by its name, the <header> tag is not similar to <head> tag as its functionality is totally different. Header tag is a container that can be used more than once in your <body> tag to define a particular groups of tags such as H1 H2 H3 and these tags goes under this container.

<header>

<h1>My header</h1>

</header>

Make your own <footer> Section

It is very similar to header section but it is used in bottom part of the website pages.We use <footer> tag to show a specific information on each page of the website like copyrights or some important inter-links.

<footer>

<p>Copyright :Techrubik, 2017

<a hrefs: https://techrubik.com/about-us/>About us</a>

</p>

</footer>

Leave a Comment

%d bloggers like this: