Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Java programming

Rating
-
Sold
-
Pages
3
Uploaded on
23-12-2024
Written in
2024/2025

study for all to easy

Institution
Course

Content preview

1. Web design

Introduction of html and css




Welcome to our introduction to CSS and HTML! In this chapter, we'll
explore the fundamentals of these core web development technologies,
including hands-on examples and step-by-step calculations. "CSS and
HTML are like peanut butter and jelly; they're simply better together." -
Chris Coyier, CSS-Tricks HTML (HyperText Markup Language) is the
backbone of any website, providing the structure and content for web
pages. CSS (Cascading Style Sheets), on the other hand, is responsible for
the visual presentation of that content. Let's start with a simple HTML
example: ```html

Welcome to My Web Page!
This is a paragraph of text.

``` In this example, we see the basic structure of an HTML document, including the doctype
declaration, html element, head element, and body element. The head element contains
metadata about the document, while the body element contains the actual content. In this
case, we have a heading (h1) and a paragraph (p) of text. Now, let's add some CSS to make our
web page look a bit nicer: ```css body { background-color: #f0f0f0; font-family: Arial, sans-
serif; } h1 { color: #333; text-align: center; } p { margin-left: 20px; margin-right: 20px; } ``` In this
CSS example, we've added some basic styles to our web page. We've set the background
color of the body element to a light gray (#f0f0f0), and the font family to Arial (or a sans-serif
font if Arial is not available). We've also styled the h1 element with a darker gray color (#333)
and centered alignment, and the p element with some margin to create some breathing room.
Now, let's dive into some of the more advanced features of CSS and HTML. One of the most
powerful features of CSS is its ability to select and style elements based on complex
conditions. For example, we can use the `:hover` pseudo-class to style an element when the
user hovers their mouse over it. Let's add a hover effect to our h1 element: ```css h1:hover {

Written for

Institution
Course

Document information

Uploaded on
December 23, 2024
Number of pages
3
Written in
2024/2025
Type
SUMMARY

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
mahalaksmi129

Get to know the seller

Seller avatar
mahalaksmi129 No
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions