O'Reilly logo

JavaScript for Kids by Nick Morgan

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 5. The Basics of HTML

The browser-based JavaScript console that we’ve been using so far is great for trying out small snippets of code, but in order to create actual programs, we’ll need something a bit more flexible, like a web page with some JavaScript in it. In this chapter, we’ll learn how to create a basic HTML web page.

HTML (HyperText Markup Language) is the language used to make web pages. The word HyperText refers to text that is connected by hyperlinks, the links on a web page. A markup language is used to annotate documents so that they’re not just plaintext. The markup tells software (like a web browser) how to display the text and what to do with it.

In this chapter, I’ll show you how to write HTML documents in a text editor ...

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