01-Document Style

This way we can include CSS within the style tag, it is very useful when you only have an html document.

Document Style

Document style is a way to apply CSS styles directly within an HTML document using the <style> tag. This method is useful for quick styling or when you have a single HTML file and don't want to create a separate CSS file.

Example:

<style>
    body {
        background-color: #f0f0f0;
        font-family: Arial, sans-serif;
        color: #333;
        h1 {
        color: #007bff;
    }