GreX Tutorial : Introduction to HTML
INTRODUCTION TO HTML
HTML stands for Hyper Text Mark-up Language. It is a programming language used to structure web pages. As a programming language, it gives instructions to the web browser on how to display its content to the users.
It defines where each element of the web page like buttons, text, links, paragraphs e.t.c should be placed. Just like arranging parts in a car. With this language, you can create websites. It is usually associated with Front-end development but personally, no matter your field, you should have knowledge about it.
An HTML document usually contain tags. Each tag has a different function but all work together for the proper functioning and looks of the page. The tags usually come in pairs like this:
<tagname> THE CONTENT </tagname>
Note the slash in the second tag!!
The current and most recent version of HTML is THE HTML5! A document is identified as an HTML5 document if it has the HTML5 declaration which is:
<!DOCTYPE html>
It is also important to note that the declaration above isn't case-sensitive. It can be written without particular attention to the case. E.g
<!DOCTYPE html>
<!DOCTYPE HTML>
<!doctype html>
<!Doctype Html>
However, it is good practice to stick to a particular format. I prefer the first instance.
WOW! I hope you learnt something today! Let us stop the stories and move on to the actual code! Join me! HELLO WORLD IN HTML!
Comments
Post a Comment