HTML & CSS: Structure vs. Style
Websites are built using a "Content First" approach where HTML provides the skeleton and CSS provides the skin.
<p>: Defines a paragraph of text.<img>: Embeds images into the document.<a>: An anchor tag used for creating hyperlinks.<ul> / <ol>: Creates unordered or ordered lists.
/* CSS Example */
p { color: #7FDBFF; font-size: 18px; }
p { color: #7FDBFF; font-size: 18px; }
Client-Side vs. Server-Side
Where code is executed determines the speed and security of a web application.
Client-Side: Happens in your browser. (e.g., dynamic menus, instant form alerts).
Server-Side: Happens on the web server. (e.g., logging in, saving data to a database).
Internet Standards
The W3C (World Wide Web Consortium) ensures that the web is accessible to everyone by setting universal standards.
- HTML: The standard markup for web pages.
- XML: A markup language designed to store and transport data.
- CGI: A standard for connecting web servers to external processing programs.