HTML stands for “Hypertext Markup Language.” It’s used to create the structure of a webpage. When you save an HTML document, it’s saved with an .html extension. This file is essentially a text document that contains specific tags defining how content is displayed on the webpage. For instance, using the
<H1> tag around text will make it larger and styled differently. HTML is essential for structuring the content of your webpage, but it doesn’t add any interactivity.
CSS (Cascading Style Sheets) is used to style HTML elements. You can include CSS directly within HTML using the ‘style’ attribute. Alternatively, you can define styles in a
<style> tag or an external .css file. CSS controls aspects like font styles, colors, and positioning. For instance, adding a ‘color:red;’ style to an element will make the text red. CSS enhances the visual appearance of your webpage.