What are the basic pieces of a web page?

Want to create web pages? You'll want to learn HTML, CSS, and JavaScript. Let's learn what each language does.

HTML - HyperText Markup Language

HTML is a language that puts elements (text, images, links, etc.) on a webpage.

It's easy to think about HTML as being the frame of a house.

wooden frame of a house

CSS - Cascading Style Sheets

CSS is a language for styling HTML elements. You can style elements with color, size, padding, etc.

It's easy to think about CSS as coloring the framed house.

multi-colored house

JavaScript

JavaScript is a language for actions on web pages, such as displaying popup menus when a user hovers over an element, or showing the user a message when they click something on the screen.

JavaScript is like wiring the house up for electricity so that lights can be turned on.

plug

Next: Introduction to HTML

Comments

Leave a comment

What color are green eyes? (spam prevention)
Submit
Code under MIT License unless otherwise indicated.
© 2020, Downranked, LLC.