0% found this document useful (0 votes)
2 views7 pages

HTML and CSS Presentation

Uploaded by

abdosakna00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views7 pages

HTML and CSS Presentation

Uploaded by

abdosakna00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy