HTML Introduction to HTML and CSS Getting Familiar with HTML and CSS Review: Getting Familiar with HTML and CSS

Stellah Avanthi
Stellah Avanthi
Full Stack JavaScript Techdegree Student 5,934 Points

What is HTML used for? As per my understanding, it's used to add interaction to the website.

As per my understanding, it's used to add interaction to the website,

1 Answer

Jamie Reardon
Jamie Reardon
Treehouse Project Reviewer

Hey there!

You are incorrect sorry, HTML is not used to add interactivity to websites, that would be JavaScript. HTML is a markup language that is used to structure your webpage and the content that webpage will hold. It is the core language that basically creates a webpage. Without CSS, web pages would look pretty dull and boring.

To summarise:

  • HTML (HyperText Markup Language) structures the page.
  • CSS (Cascading Stylesheets) defines the presentation of the page (the appearance)
  • JavaScript adds interactivity to the page.
Stellah Avanthi
Stellah Avanthi
Full Stack JavaScript Techdegree Student 5,934 Points

Thank you so much, @Jamie Reardon, I am pretty new to this course and just got confused between the interaction and structures, this answer is very understandable and is of great help.