Introduction to HTML
What is HTML?
HTML is an initialism which stands for Hypertext Markup Language and it is the foundation upon which web pages are built. It is used to categorize and attribute properties to data. Data in this case may be text, images, videos or audio. We categorize these data types with the use of 'tags'. Tags look like this...
The set of tags above are known in HTML as a paragraph element, there are many elements which help describe the structure of our web pages. The above tags are empty though, usually paragraph tags are used to turn a string of text into an HTML paragraph element like so...
If the above element were to be inserted into the body of an HTML document and opened by a browser the browser would 'interpret' it with a certain set of rules used for paragraph elements. We're getting a bit ahead of ourselves though. What is an HTML document? How do browsers interpret these documents?