O'Reilly logo

PHP for Teens by Maneesh Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Common Tags

Tags are a major part of creating and designing an HTML document. Every file has several tags necessary for the page to be viewed in the web browser. Let’s look at the structure of a blank document for the purposes of seeing the HTML structure:

What is DOCTYPE?

All browsers interpret code a little bit differently. To help programmers write code that displays consistently in all browsers, and to create a standard way of writing code, the World Wide Web Consortium was created.

To identify your document as conforming to these standards, you use a very scary-looking but benign DOCTYPE declaration. It has only a few variations, and they are readily available to cut and paste into your code–especially since you only have to use it once ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required