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 trial

CSS CSS Foundations Advanced Selectors Pseudo-Elements: ::first-line and ::first-letter

Peter Krieg
Peter Krieg
7,388 Points

What exactly is the difference between the "source code" and "markup" that is mentioned in this video and others?

I've heard lots of mentions of "markup" and "source code". Does this refer to the original HTML document? Does "making the markup cleaner" mean having fewer HTML tags I assume? What is the difference between the "markup" and "source code" mentioned in this video.

Thanks a lot for any clarification.

1 Answer

Source code refers to a computer programming language like JavaScript, markup refers to written information in HTML documents. Like <h1> </h1> means "this is a header." Clean markup has efficient well organized tags.