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
Download
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
Michael Okpara University of Agriculture, Umudike
PDF
No ratings yet
Michael Okpara University of Agriculture, Umudike
2 pages
Secure Remote Access For Industrial Machines For Dummies
PDF
No ratings yet
Secure Remote Access For Industrial Machines For Dummies
67 pages
HTML Solo Learn
PDF
No ratings yet
HTML Solo Learn
54 pages
B+V Manual - CLS 100-150 - 621100-Y-BC-D Rev 005
PDF
0% (1)
B+V Manual - CLS 100-150 - 621100-Y-BC-D Rev 005
30 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
File System: File System Management and Optimization Example File Systems
PDF
No ratings yet
File System: File System Management and Optimization Example File Systems
33 pages
Output Viewer User Guide2
PDF
No ratings yet
Output Viewer User Guide2
211 pages
CSE Guide - Standalone Solar System PDF
PDF
No ratings yet
CSE Guide - Standalone Solar System PDF
8 pages
GPIO Terminal Block
PDF
No ratings yet
GPIO Terminal Block
28 pages
KX-CDD Electric Stacker Manual - 1
PDF
No ratings yet
KX-CDD Electric Stacker Manual - 1
15 pages
2024 Research Colloquium Protocols
PDF
No ratings yet
2024 Research Colloquium Protocols
2 pages
BDII365.COM OFFICIALBLOG
PDF
No ratings yet
BDII365.COM OFFICIALBLOG
3 pages
Deep Residual Learning For Image Recognition
PDF
No ratings yet
Deep Residual Learning For Image Recognition
16 pages
20240910 SVG244 Cadastral Surveying class test
PDF
No ratings yet
20240910 SVG244 Cadastral Surveying class test
4 pages
Temperature Monıtorıng of Chıllıng System Usıng IoT Technıques
PDF
No ratings yet
Temperature Monıtorıng of Chıllıng System Usıng IoT Technıques
6 pages
Shreyash Bhoir Resume
PDF
No ratings yet
Shreyash Bhoir Resume
1 page
Deep Q-Learning Based Sparse Code Multiple Access For Ultra Reliable Low Latency Communication in Industrial Wireless Networks
PDF
No ratings yet
Deep Q-Learning Based Sparse Code Multiple Access For Ultra Reliable Low Latency Communication in Industrial Wireless Networks
13 pages
II B.Tech I Sem OOPS Final Exam (MR20) Model Paper
PDF
No ratings yet
II B.Tech I Sem OOPS Final Exam (MR20) Model Paper
2 pages
TOS - Math - Grade 7 - 1st Periodical - SY 2023-2024
PDF
No ratings yet
TOS - Math - Grade 7 - 1st Periodical - SY 2023-2024
14 pages
HPT Brand Guidelines 2021v1.7
PDF
No ratings yet
HPT Brand Guidelines 2021v1.7
13 pages
Pemodelan Jumlah Kasus Baru
PDF
No ratings yet
Pemodelan Jumlah Kasus Baru
8 pages
CIPS CR Timetable NOV 22
PDF
100% (1)
CIPS CR Timetable NOV 22
1 page
Kharisma Ayu's Portofolio
PDF
No ratings yet
Kharisma Ayu's Portofolio
11 pages
1 s2.0 S2352864822000827 Main PDF
PDF
No ratings yet
1 s2.0 S2352864822000827 Main PDF
18 pages
ABB Protection Solutions
PDF
No ratings yet
ABB Protection Solutions
16 pages
Curvv Ev Dark Brochure
PDF
No ratings yet
Curvv Ev Dark Brochure
10 pages
Ignition - Replace Coil Units On An ES9J4S V6 Engine
PDF
No ratings yet
Ignition - Replace Coil Units On An ES9J4S V6 Engine
8 pages
2nd Quarter Exam in Mil
PDF
No ratings yet
2nd Quarter Exam in Mil
5 pages
Anomalies 2312.16139
PDF
No ratings yet
Anomalies 2312.16139
41 pages
Ce GSW 3424M1
PDF
No ratings yet
Ce GSW 3424M1
2 pages
A709646 Handbuch Zenjet Range Operating Manual GB V2 1
PDF
No ratings yet
A709646 Handbuch Zenjet Range Operating Manual GB V2 1
57 pages
Design For Manufacturing and Assembly For Sustainable Quick and Cost Effective Prefabricated Construction A Review
PDF
No ratings yet
Design For Manufacturing and Assembly For Sustainable Quick and Cost Effective Prefabricated Construction A Review
10 pages