HTML is another word for Hyper Text Markup Language. It is not considered a programming language but considered a markup language. You can create HTML files in either plain text files (.txt) or in other software such as Dreamweaver.
There are many different types of browsers the most common are internet explorer, mozilla firefox, safari, opera, and google chrome. What the browser does when it enters a webpage is it reads the HTML code and based on how the writer places each content in the HTML tags is how the browser displays the content of the page. Not all browsers display the HTML the way the programmer intended it to be seen, that is why it is important to validate the code and test it in each browser
Tags surround the content that the browser displays an example would be:
<h1>Title of Website</h1>
This displays “Title of Website” inside of <h1> tags, which the browser reads as the title of the page, and displays this with the default font size of 24 pts. You can change the default size in the css stylesheet, we will go over this in a later chapter. Every HTML tag must have a closing tag, the closing tag is always the same as the opening tag except it displays a forward slash before the tag name. An example can be found in our example above as it is closed with the </h1> closing tag.
Some tags must exist in a page in order for the browser to read it properly. These tags include the <html> tag, the <head> tag and the <body> tag. Tags can be placed inside of other tags for example a website may display this as their code.
<p>welcome to our website!</p>
it is good practice to place tabs or spaces before each level of tags, so that way when you need to go back and change an old website you built, you can easily find where the content of the website is displayed.Take the quiz »