What is HTML?

What is HTML?

Hyper Text Markup Language (HTML) is a markup language used for creating webpages. Cascading Style Sheets (CSS) and JavaScript can work with HTML code. CSS is used to change how a webpage looks. JavaScript is used to add features to webpages and make them more interactive.

 

Brief History

HTML was first invented by Tim Berners-Lee and the assistance of his collegues at CERN. Berners-Lee invented the World Wide Web in 1989, and developed HTML in 1990. HTML 2.0 was then released in 1995. Instead of explaining the features of each version, i’ll just say that each new version that has been released has aimed to make Internet Technology more Accessible to everyone. We are currently at HTML 5 which was released back in 2014.

The Internet is now in a very different place than it was in 1999 when HTML 4 was being used. Smartphones, Tablets and other Mobile Devices have brought new challenges to light for Developers, which is why HTML 5 was introduced, to help developers have a smoother and more consistent experience.

 

What does HTML Code look like?

HTML uses special bits of programming language called “tags” to let the browser know how a webpage should look. The tags usually come in pairs: an opening tag to tell the browser when to start doing something, and an ending tag to tell the browser when to stop doing something. There are many different kinds of tags, and each one has a different purpose.

Opening tags have a keyword or letter, such as “p,” surrounded by angle brackets. e.g. “<p>” which would be used to open a Paragraph tag.

Once you have added the content you would like into your paragraph tag, it must then be closed. To do this you write almost the same, but add a slash after the first angle bracket. Closing tags look like this “</p>”

So, to write a Paragraph in HTML you would write:

“<p> This is a Paragraph.</p>”

Remembering to Include your Opening and Closing Tags!

 

Advantages and Disadvantages of HTML

Advantages:

  • Easy to create a Webpage
  • It’s plain text, so easy to edit (most of the time!)
  • Fast to download, as text is compressible

Disadvantages:

  • Each webpage must be edited seperately
  • Requires a lot of code to make a simple site
  • Pages can’t be responsive without the use of CSS