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

Chapter 2. A Quick HTML Primer

If you followed the steps in Chapter 1, you know how to install PHP and how to create a new PHP file. Now you are going to learn how to do a little bit of HTML, which produces static pages, whereas PHP allows dynamic pages. The HTML in a web page generally remains the same unless another process, such as PHP, changes it.

Hypertext Markup Language, or HTML, is the backbone code that goes into most web pages that makes text and graphics appear onscreen. This language is basically a set of conventions, followed by all browsers, that allows people to view pages so they look exactly the same in different applications. Because HTML is a markup language, it is a lot easier to write than programming languages such as PHP. ...

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