Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialStellah Avanthi
Front End Web Development Techdegree Graduate 18,685 PointsWhat 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
Treehouse Project ReviewerHey 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
Front End Web Development Techdegree Graduate 18,685 PointsStellah Avanthi
Front End Web Development Techdegree Graduate 18,685 PointsThank 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.