w3schools
.com
THE WORLD'S LARGEST WEB DEVELOPER SITE
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
HOW TO
W3.CSS
JQUERY
XML
MORE
FORUM
EXERCISES
REFERENCES
×
HTML and CSS
Learn HTML
Learn CSS
Learn Bootstrap
Learn W3.CSS
Learn Colors
Learn Icons
Learn Graphics
Learn SVG
Learn Canvas
Learn How To
Learn Sass
XML
Learn XML
Learn XML AJAX
Learn XML DOM
Learn XML DTD
Learn XML Schema
Learn XSLT
Learn XPath
Learn XQuery
JavaScript
Learn JavaScript
Learn jQuery
Learn React
Learn AngularJS
Learn JSON
Learn AJAX
Learn W3.JS
Programming
Learn Python
Learn Java
Learn C++
Learn C#
Learn Machine Learning
Server Side
Learn SQL
Learn PHP
Learn ASP
Learn Node.js
Learn Raspberry Pi
Web Building
Web Templates
Web Statistics
Web Certificates
Web Editor
Web Development
XML
Learn XML
Learn XML AJAX
Learn XML DOM
Learn XML DTD
Learn XML Schema
Learn XSLT
Learn XPath
Learn XQuery
×
HTML
HTML Tag Reference
HTML Event Reference
HTML Color Reference
HTML Attribute Reference
HTML Canvas Reference
HTML SVG Reference
HTML Character Sets
Google Maps Reference
CSS
CSS Reference
CSS Browser Support
CSS Selector Reference
Bootstrap 3 Reference
Bootstrap 4 Reference
W3.CSS Reference
Icon Reference
Sass Reference
JavaScript
JavaScript Reference
HTML DOM Reference
jQuery Reference
AngularJS Reference
W3.JS Reference
Programming
Python Reference
Java Reference
Server Side
SQL Reference
PHP Reference
ASP Reference
XML
XML Reference
XML Http Reference
XSLT Reference
XML Schema Reference
Character Sets
HTML Character Sets
HTML ASCII
HTML ANSI
HTML Windows-1252
HTML ISO-8859-1
HTML Symbols
HTML UTF-8
×
Exercises
HTML Exercises
CSS Exercises
JavaScript Exercises
SQL Exercises
PHP Exercises
Python Exercises
jQuery Exercises
Java Exercises
Bootstrap Exercises
C++ Exercises
C# Exercises
Quizzes
HTML Quiz
CSS Quiz
JavaScript Quiz
SQL Quiz
PHP Quiz
Python Quiz
jQuery Quiz
Java Quiz
Bootstrap Quiz
XML Quiz
Certificates
HTML Certificate
CSS Certificate
JavaScript Certificate
SQL Certificate
PHP Certificate
Python Certificate
jQuery Certificate
Bootstrap Certificate
XML Certificate
W3.CSS
W3.CSS HOME
W3.CSS Intro
W3.CSS Colors
W3.CSS Containers
W3.CSS Panels
W3.CSS Borders
W3.CSS Cards
W3.CSS Fonts
W3.CSS Text
W3.CSS Round
W3.CSS Padding
W3.CSS Margins
W3.CSS Display
W3.CSS Buttons
W3.CSS Notes
W3.CSS Quotes
W3.CSS Alerts
W3.CSS Tables
W3.CSS Lists
W3.CSS Images
W3.CSS Inputs
W3.CSS Badges
W3.CSS Tags
W3.CSS Icons
W3.CSS Responsive
W3.CSS Layout
W3.CSS Animations
W3.CSS Effects
W3.CSS Bars
W3.CSS Dropdowns
W3.CSS Accordions
W3.CSS Navigation
W3.CSS Sidebar
W3.CSS Tabs
W3.CSS Pagination
W3.CSS Progress Bars
W3.CSS Slideshow
W3.CSS Modal
W3.CSS Tooltips
W3.CSS Grid
W3.CSS Code
W3.CSS Filters
W3.CSS Trends
W3.CSS Case
W3.CSS Material
W3.CSS Validation
W3.CSS Versions
W3.CSS Mobile
W3.CSS Colors
W3.CSS Color Classes
W3.CSS Color Material
W3.CSS Color Flat UI
W3.CSS Color Metro UI
W3.CSS Color Win8
W3.CSS Color iOS
W3.CSS Color Libraries
W3.CSS Color Schemes
W3.CSS Color Themes
W3.CSS Color Generator
Examples
W3.CSS Examples
W3.CSS Demos
W3.CSS Templates
References
W3.CSS Reference
W3.CSS Downloads
W3.CSS
Examples
❮ Previous
Next ❯
×
Header
W3.CSS Colors
Background Colors
Text Colors
Hover Colors
Examples explained
W3.CSS Containers
Containers
Containers with color
Container header using <div>
Container header using <header>
Container footer using <div>
Container footer using <footer>
Container <article> and <section>
Container with <div> elements
Container with semantic elements
Container padding
Container with headers and paragraphs
Examples explained
W3.CSS Borders
Borders
Colored borders
Rounded borders
Thick borders
Hoverable borders
Examples explained
W3.CSS Panels
Panels
Panel notes
Panel quotes
Panel alerts
Panel cards
Panel round
Hide/close a panel
Show/Open a panel
Examples explained
W3.CSS Cards
Cards
Colored cards
Card content
Photo cards
Hoverable cards
Avatar card with buttons
Avatar card with full-width button
Card Widgets
Examples explained
W3.CSS Fonts
Headings
Font-size classes
Override the W3.CSS defaults
Change the default page font
How to use a font class
How to use external fonts
External google font: lobster
Font effects
Font effects 2
Examples explained
W3.CSS Text
Text alignment
Center elements
Wide text
Text shadow
Text opacity
Text special effects
Examples explained
W3.CSS Round
Round classes
Circle class
Text inside a circle
Circle inside a circle
Circle inside a circle 2
Examples explained
W3.CSS Padding
Padding number classes
Padding size classes
Examples explained
W3.CSS Margins
Margin on all sides
Margin top
Margin bottom
Margin left
Margin right
Margin sections
Examples explained
W3.CSS Display
Display container
Display container with padding
Display container for image
Displaying a flag
Floating classes
Hide and show classes
Toggle hide and show
Examples explained
W3.CSS Buttons
Buttons
Button colors
Hover colors
Button shapes
Button sizes
Button borders
Buttons with text effects
Buttons with wide text effects
Padded buttons
Left and right buttons
Full-width buttons
Disabled buttons
Button groups on the same line
Button bars
Buttons with ripple effects
Examples explained
W3.CSS Notes
Notes
Grey with rounded borders
Pale blue with left and right bar
Pale red with left bar
Pale yellow with border
Pale green with border and bottom bar
Yellow with top and bottom bar
Examples explained
W3.CSS Quotes
Quotes
Large quotes
Blockquotes
Custom quotes 1
Custom quotes 2
Custom quotes 3
Black quote
Quotes as cards
Quotes as cards 2
Examples explained
W3.CSS Alerts
Basic alerts
Closable alerts
Rounded alerts
Alert cards
Examples explained
W3.CSS Tables
Basic table
Bordered table (horizontal dividers)
Striped table
Bordered striped table
Borders around the table
Table all (combines stripes, borders, etc)
Flipping the stripes
Centered table
Table with a colored heading
Table colors
Hoverable table (grey color)
Specific hoverable table color
Table card
Responsive table
Tiny table
Small table
Large table
xLarge table
xxLarge table
xxxLarge table
Jumbo table
Examples explained
W3.CSS Lists
Basic list
Bordered list
List header
List card
Centered list
Colored list
Colored list item
Hoverable list (grey color)
Specific hoverable list color
Closable list
Padded list
Avatar list
Tiny list
Small list
Large list
xLarge list
xxLarge list
xxxLarge list
Jumbo list
Examples explained
W3.CSS Images
Rounded image
Circled image
Bordered image
Image card
Image text
Responsive image
Responsive image with max width
Image opacity
Image grayscale
Image sepia
Image hover effects
Image opacity off
Photo Album
Examples explained
W3.CSS Inputs
Top labels
Bottom labels
Input cards
Colored labels
Bordered inputs
Rounded borders
Borderless input
Colored inputs
Hoverable inputs
Animated inputs
Checkboxes
Radio buttons
Select menu
Bordered select menu
Form elements in a three-column grid
Two-column layout with labels
Examples explained
W3.CSS Badges
Badges
Colored Badges
Badges in buttons
Badges in lists I
Badges in lists II
Badges in tables
Large badges
UTF-8 badges
Examples explained
W3.CSS Tags, Labels, and Signs
Tags and labels
Colored tags
Large tags
Tags as letters
Tags in a row
Tag as a sign
Road signs
Large signs
Large signs 2
Rounded signs
Rotated tags
Spinning tags
Examples explained
W3.CSS Icons
Font awesome icons
Google material design icons
Bootstrap icons
Examples explained
W3.CSS Responsive
The w3-half class
The w3-third class
The w3-twothird class
The w3-quarter class
The w3-threequarter class
Nested rows (w3-half inside w3-half)
Columns using w3-rest
Columns using percent
The w3-content class
Difference between w3-row and w3-row-padding
Examples explained
W3.CSS Animate
Top animation
Bottom animation
Left animation
Right animation
Fading animation
Fading infinite animation
Zoom animation
Spin animation
Fade all
Examples explained
W3.CSS Dropdowns
Hoverable dropdown menu
Hoverable dropdown
Dropdown in navbar
Clickable dropdown menu
Image dropdown
Card dropdown
Animated dropdown
Right-aligned dropdown
Examples explained
W3.CSS Accordions
Basic accordion
Accordion buttons
Active accordion
Accordion width
Accordion links
Accordion card with lists
Accordion and dropdown in sidebar
Animated accordion
Examples explained
W3.CSS Navigation
Basic navigation
Colored bar
Bordered bar
Active link in bar
Hoverable bar links
Right-aligned links
Bar font-size
Bar padding
Bar width
Bar icons
Bar with input
Bar with dropdown
Bar with an active dropdown and icon
Bar with clickable dropdown
Top bar
Bottom bar
Collapsible bar
Examples explained
W3.CSS Sidebar
Basic sidebar (always displayed)
Collapsible sidebar
Sidebar hiding a part of the page content
Sidebar hiding all page content
Sidebar shift content to the right
Sidebar color
Bordered sidebar
Bottom bordered sidebar (dividers)
Sidebar card
Hoverable sidebar links (background color)
Hoverable sidebar links (text color)
Sidebar size
Sidebar with icons (icon bar)
Sidebar with dropdown
Sidebar with accordion
Animated sidebar
Sidebar with overlay effect
Sidebar with content
Examples explained
W3.CSS Tabs
Basic tab
Active/current tab
Vertical tab
Animated tab content
Tabbed image gallery
Tabs in a grid
Examples explained
W3.CSS Pagination
Basic pagination
Pagination arrows
Active pagination link
Pagination hover color
Pagination size
Bordered pagination
Rounded bordered pagination
Centered pagination
Next/previous pagination arrows
Pagination menu
Examples explained
W3.CSS Progress Bars
Basic progress bar
Progress bar width
Progress bar sizes
Progress bar colors
Rounded progress bars
Progress bar labels
Dynamic progress bar
Dynamic progress bar with centered label
Dynamic progress bar with left-aligned label
Dynamic progress bar with label placed outside
Examples explained
W3.CSS Slideshow
Manual slideshow with images
Automatic slideshow with images
Automatic HTML slides
Slideshow captions
Slideshow indicators with numbers and prev/next buttons
Slideshow indicators with icons and bullets
Images as indicators
Animated slides
Automatic slideshow with infinite fading
Examples explained
W3.CSS Modal
Basic modal (dialog box/popup window)
Modal with containers
Modal card
Animated modal
Fade in modal
Modal image
Modal image gallery
Modal login form
Modal tab
How to close the modal
Modal lightbox (modal image gallery)
Examples explained
W3.CSS Tooltips
Inline tooltip text
Inline tooltip tag
Tooltip text before a hoverable image
Tooltip text after a hoverable image
Absolute tooltip
Colored tooltip
Rounded tooltip
Small tooltip
Large tooltip
Examples explained
W3.CSS Responsive Grid
Fluid grid demonstration
Two equal columns
Two unequal columns
Three equal columns
Three unequal columns
Six equal columns
Mixed: Mobile and Laptops
Mixed: Mobile, Tablets and Laptops
Difference between w3-row and w3-row-padding
Columns using w3-rest
Columns using percent
Examples explained
W3.CSS Code
Displaying examples
Displaying code
Displaying colored HTML
Displaying colored CSS
Displaying colored JavaScript code
Displaying inline code (w3-codespan)
Examples explained
W3.CSS Filters
Filter Tables
Filter Lists
Filter Dropdowns (click)
Filter Dropdowns (hover)
Examples explained
❮ Previous
Next ❯
COLOR PICKER
HOW TO
Tabs
Dropdowns
Accordions
Side Navigation
Top Navigation
Modal Boxes
Progress Bars
Parallax
Login Form
HTML Includes
Google Maps
Range Sliders
Tooltips
Slideshow
Filter List
Sort List
SHARE
CERTIFICATES
HTML
CSS
JavaScript
SQL
Python
PHP
jQuery
Bootstrap
XML
Read More »