Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
2 views

HTML and CSS Presentation

Uploaded by

abdosakna00
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

HTML and CSS Presentation

Uploaded by

abdosakna00
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Introduction to HTML and CSS

Building the Web: Fundamentals of


Web Development
What is HTML?
• - HTML stands for HyperText Markup
Language.
• - It is the standard markup language for
creating web pages.
• - Defines the structure of web content using
elements.
• - Elements are represented by tags like
<html>, <head>, <body>.
What is CSS?
• - CSS stands for Cascading Style Sheets.
• - It is used to style and layout web pages.
• - Controls the color, font, spacing, and layout
of elements.
• - Works alongside HTML to enhance the
appearance of websites.
Basic Structure of an HTML
Document
• <!DOCTYPE html>
• <html>
• <head>
• <title>Page Title</title>
• </head>
• <body>
• <h1>Welcome!</h1>
• <p>This is a paragraph.</p>
• </body>
CSS Syntax
• selector {
• property: value;
• }

• Example:
• h1 {
• color: blue;
• font-size: 24px;
• }
Types of CSS
• - Inline CSS: Applied directly to an HTML
element using the 'style' attribute.
• - Internal CSS: Defined within a <style> tag in
the <head> section.
• - External CSS: Written in a separate .css file
and linked to the HTML document.
Conclusion
• - HTML and CSS are foundational technologies
for web development.
• - HTML structures content, while CSS styles
and enhances its appearance.
• - Together, they create visually appealing and
functional websites.

You might also like