Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
36 views
Modern HTML Css
Uploaded by
Laiba Tariq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Modern HTML Css For Later
Download
Save
Save Modern HTML Css For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
36 views
Modern HTML Css
Uploaded by
Laiba Tariq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Modern HTML Css For Later
Carousel Previous
Carousel Next
Save
Save Modern HTML Css For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 1
Search
Fullscreen
HTML & CSS (2021)
Common HTML Tags CSS Examples CSS Selectors
selector Tag div { color: blue; }
name attribute(s)
declaration block Class .class-name { color: blue; }
opening ID #id_name { color: blue; }
contents
closing Containment (match children)
property value
/* Match all divs in #a */
Paragraph #a div { color: blue; }
Text /* Divs immediately in #b */
<p>Paragraph of text</p> #b > div { color: blue; }
p { /* Wildcard: anything in #c */
Styling font-size: 16pt; #c > * { color: blue; }
text-align: center;
color: green;
<em>Italic</em> and font-family: "Arial"; Pseudo-elements (add content)
<strong>bold</strong> font-weight: bold;
line-height: 20px;
Image h1::before { content: "-"; }
}
<img src="image.jpg" /> Sizing Pseudo-classes (match by position)
Link (aka “anchor”) div { /* First p margin */
height: 30px; p:nth-child(1) { margin: 10px; }
<a href="http://google.com/"> width: 100%; /* Striped table rows */
Link to Google margin-left: 20px; tr:nth-child(odd) { color: gray; }
</a> padding-top: 10px;
}
Headers Grid Container
Block styling
<h1>Huge</h1> <h2>Big</h2>
... <h6>Small</h6> grid-template-columns grid-template-rows
.highlighted-area {
display: block; 1fr 1fr 1fr 1fr 1fr 1fr
Freeform box-sizing: border-box;
<div></div> (block) and background: yellow; 50px auto 50px 50px auto 90px
<span></span> (inline) border: 2px solid green;
border-radius: 10px; 20% 20% auto 100px auto 20%
Semantic }
<section>, <article>, and more .container-element {
Transition (animates properties) display: grid;
Comment grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 50px auto 90px;
.fading-link {
<!-- Ignored text --> transition: color 1s, }
padding-left 3s;
}
Box model .fading-link:hover { Grid Child Positioning
color: green;
padding-left: 20px; grid-column grid-row
Margin }
2/3
Border
2/ span 2
Padding CSS Display
1/3
Content block fill available width, word-wrap 1 / span 2 1 / span 2
inline children (e.g. paragraph)
inline word-wrap (e.g. strong)
content-box inline-block square block within word- .child-element {
wrapped text (e.g. emoji or icon) grid-column: 1 / span 2;
flex line up children, control spacing grid-row: 1 / span 2;
border-box grid position children in grid }
Modern HTML (2021) kickstartcoding.com A cheatsheet by Kickstart Coding
You might also like
Repair Instructions Bio Circle II Al 07 2012 en
PDF
75% (4)
Repair Instructions Bio Circle II Al 07 2012 en
25 pages
HTML Solo Learn
PDF
No ratings yet
HTML Solo Learn
54 pages
2.23 Submission in eCTD Format Sept16 v2.1
PDF
No ratings yet
2.23 Submission in eCTD Format Sept16 v2.1
26 pages
Coding
PDF
No ratings yet
Coding
13 pages
HTML Codes Foa Website
PDF
100% (1)
HTML Codes Foa Website
180 pages
HTML Can Be Edited by Using A Professional HTML Editor Like
PDF
No ratings yet
HTML Can Be Edited by Using A Professional HTML Editor Like
8 pages
HTML 5
PDF
No ratings yet
HTML 5
193 pages
Moocs File
PDF
No ratings yet
Moocs File
18 pages
Web Designing Using HTML
PDF
No ratings yet
Web Designing Using HTML
21 pages
html_css
PDF
No ratings yet
html_css
40 pages
Intro To HTML CSS
PDF
No ratings yet
Intro To HTML CSS
26 pages
Web Developent D2
PDF
No ratings yet
Web Developent D2
17 pages
What Is HTML
PDF
No ratings yet
What Is HTML
3 pages
Web Development
PDF
No ratings yet
Web Development
17 pages
Html5: !doctype HTML Head Title /title /head Body h1 /h1 P /P /body /HTML
PDF
No ratings yet
Html5: !doctype HTML Head Title /title /head Body h1 /h1 P /P /body /HTML
17 pages
HTML Chapter 1 Introduction
PDF
No ratings yet
HTML Chapter 1 Introduction
66 pages
L1 - HTML
PDF
No ratings yet
L1 - HTML
80 pages
Web Page Design
PDF
100% (1)
Web Page Design
12 pages
CBT_HTML_Ver 9.0
PDF
No ratings yet
CBT_HTML_Ver 9.0
131 pages
Internet and Web Technology: Part-1
PDF
No ratings yet
Internet and Web Technology: Part-1
23 pages
HTML
PDF
No ratings yet
HTML
26 pages
HTML - Part I: Indian Institute of Technology Kharagpur
PDF
No ratings yet
HTML - Part I: Indian Institute of Technology Kharagpur
26 pages
Simple HTML Tags
PDF
No ratings yet
Simple HTML Tags
6 pages
HTML2
PDF
No ratings yet
HTML2
73 pages
HTML Basic Tags
PDF
No ratings yet
HTML Basic Tags
9 pages
G. Pullaiah College of Engineering and Technology
PDF
No ratings yet
G. Pullaiah College of Engineering and Technology
55 pages
HTML & CSS
PDF
No ratings yet
HTML & CSS
16 pages
About-HTML
PDF
No ratings yet
About-HTML
25 pages
HTML
PDF
No ratings yet
HTML
14 pages
Tle 10 Ict Quarter 2 Learning Resources w1-w5
PDF
No ratings yet
Tle 10 Ict Quarter 2 Learning Resources w1-w5
66 pages
Enhanced_L03-HTML_CSS
PDF
No ratings yet
Enhanced_L03-HTML_CSS
62 pages
IT111 Mod3C
PDF
No ratings yet
IT111 Mod3C
48 pages
EndTerm LearningTopic1-HTML Basic
PDF
No ratings yet
EndTerm LearningTopic1-HTML Basic
31 pages
HTML Glossary
PDF
No ratings yet
HTML Glossary
6 pages
Prakansha HTML File
PDF
No ratings yet
Prakansha HTML File
10 pages
FSD Module1 HTML
PDF
No ratings yet
FSD Module1 HTML
104 pages
Attributes and Elements
PDF
No ratings yet
Attributes and Elements
6 pages
HTML Documents
PDF
No ratings yet
HTML Documents
14 pages
HTML
PDF
No ratings yet
HTML
45 pages
Prelim_Reviewer_ITEC87
PDF
No ratings yet
Prelim_Reviewer_ITEC87
5 pages
Introduction To HTML+CSS+Javascript& Debugging PDF
PDF
No ratings yet
Introduction To HTML+CSS+Javascript& Debugging PDF
70 pages
Chapter 3 Lec1
PDF
No ratings yet
Chapter 3 Lec1
8 pages
HTML2
PDF
No ratings yet
HTML2
154 pages
Web Authoring (HTML)
PDF
No ratings yet
Web Authoring (HTML)
64 pages
Vikram Singh: An Introduction To Web Technologies
PDF
No ratings yet
Vikram Singh: An Introduction To Web Technologies
38 pages
html
PDF
No ratings yet
html
54 pages
HTML & Css
PDF
No ratings yet
HTML & Css
89 pages
Learne HTML: by Exccc For R00Tw0Rm Members
PDF
No ratings yet
Learne HTML: by Exccc For R00Tw0Rm Members
22 pages
Text formatting tags (1)
PDF
No ratings yet
Text formatting tags (1)
3 pages
HTML -WebSite Designing
PDF
No ratings yet
HTML -WebSite Designing
16 pages
HTML Tags and Its Uses
PDF
No ratings yet
HTML Tags and Its Uses
21 pages
Lesson 3
PDF
No ratings yet
Lesson 3
23 pages
CBSE Class 12 Informatics Practices Html-1 Basic HTML Elements PDF
PDF
No ratings yet
CBSE Class 12 Informatics Practices Html-1 Basic HTML Elements PDF
4 pages
HTML (2)
PDF
No ratings yet
HTML (2)
18 pages
HTML: HTML Stands For Hyper-Text Markup Language. It Allows Us To Create Web
PDF
No ratings yet
HTML: HTML Stands For Hyper-Text Markup Language. It Allows Us To Create Web
34 pages
HTML NOTE.
PDF
No ratings yet
HTML NOTE.
26 pages
HTML 1
PDF
No ratings yet
HTML 1
9 pages
HTML
PDF
No ratings yet
HTML
14 pages
Web Devlopment
PDF
No ratings yet
Web Devlopment
21 pages
HTML Notes
PDF
No ratings yet
HTML Notes
54 pages
CSS Box Model and Layouts
From Everand
CSS Box Model and Layouts
Abdelfattah Ragab
No ratings yet
CSS3 Reference: An Alphabetical Guide
From Everand
CSS3 Reference: An Alphabetical Guide
Jo Foster
No ratings yet
Q3 (Hydraulics)
PDF
No ratings yet
Q3 (Hydraulics)
4 pages
Alcon-Luxor-LX3-Brochure
PDF
No ratings yet
Alcon-Luxor-LX3-Brochure
8 pages
Hetzner 2022-12-02 R0017566637
PDF
No ratings yet
Hetzner 2022-12-02 R0017566637
2 pages
Computerising Egg Production Records of King'S Poultry Farm
PDF
No ratings yet
Computerising Egg Production Records of King'S Poultry Farm
35 pages
Dora
PDF
No ratings yet
Dora
56 pages
GC-1 Training Guide
PDF
No ratings yet
GC-1 Training Guide
5 pages
Lecture Notes 1 Introduction To Statistics and Data Analysis
PDF
100% (1)
Lecture Notes 1 Introduction To Statistics and Data Analysis
23 pages
Lec-04 Fortran Data Types
PDF
No ratings yet
Lec-04 Fortran Data Types
30 pages
Fira Syafiqah Resume 2022 PDF
PDF
No ratings yet
Fira Syafiqah Resume 2022 PDF
1 page
BPLCK105B-205B
PDF
No ratings yet
BPLCK105B-205B
3 pages
Lesson 4-Quantitative Techniques
PDF
No ratings yet
Lesson 4-Quantitative Techniques
7 pages
Activity Diagram - Notes and Questions
PDF
No ratings yet
Activity Diagram - Notes and Questions
15 pages
Electronics 13 02876
PDF
No ratings yet
Electronics 13 02876
15 pages
Hildear463 PDF
PDF
No ratings yet
Hildear463 PDF
3 pages
Introduction To Javascript Questions
PDF
No ratings yet
Introduction To Javascript Questions
11 pages
MRS and Etc Microproject Topic
PDF
No ratings yet
MRS and Etc Microproject Topic
6 pages
Amazon - Ae PlayStation 5 Hard Drive
PDF
No ratings yet
Amazon - Ae PlayStation 5 Hard Drive
1 page
Product Info WISI-GT-34 SW3.3 en
PDF
No ratings yet
Product Info WISI-GT-34 SW3.3 en
2 pages
#1 DataTypes&Conditions
PDF
No ratings yet
#1 DataTypes&Conditions
29 pages
BOQ ITM R0, 3 Juni 2024
PDF
No ratings yet
BOQ ITM R0, 3 Juni 2024
5 pages
Samruddhi Thopate Viit
PDF
No ratings yet
Samruddhi Thopate Viit
1 page
BOILER AALBORG MENU ALL 01 OVIMU
PDF
No ratings yet
BOILER AALBORG MENU ALL 01 OVIMU
15 pages
Test Bank for CompTIA A+ Guide to IT Technical Support, 10th Edition, Jean Andrews, Joy Dark, Jill West download
PDF
100% (1)
Test Bank for CompTIA A+ Guide to IT Technical Support, 10th Edition, Jean Andrews, Joy Dark, Jill West download
43 pages
Exercise - 15 Graphical Calculation Views
PDF
No ratings yet
Exercise - 15 Graphical Calculation Views
9 pages
LG M2241a PTN Chassis Ld93h SCH
PDF
No ratings yet
LG M2241a PTN Chassis Ld93h SCH
38 pages
T Mu Sy 10010 ST PDF
PDF
No ratings yet
T Mu Sy 10010 ST PDF
23 pages
1993 FarmerVenema Comp - Security.unix Improving The Security of Your Site by Breaking Into It2
PDF
No ratings yet
1993 FarmerVenema Comp - Security.unix Improving The Security of Your Site by Breaking Into It2
22 pages
Lesson-1-ITWS04
PDF
No ratings yet
Lesson-1-ITWS04
33 pages