Advanced Search
Search Results
20 total results found
HTML at a glance
Quicly learn HTML, the markup language of the web.
CSS at a glance
Basics of CSS
Korte soetras
Selectors: find the target of customization
Overview
Comments A comment starts with <!-- and ends with -->, here we have 2 examples: <!-- Comments are enclosed like this line! --> <!-- Comments can span multiple lines! --> Example html document You can see how this example looks like on cod...
Style an HTML page with CSS
Syntax CSS is a simple language for defining styles of an html page. The syntax can be defined in one line: selector { property: value; /* more properties...*/ } Example This example below can be viewed live here. <html lang="en"> <head> <meta charset="UTF-...
Adding interactivity with javascript
Use javascript (js) in html You can define javascript directly in html: <script> // script content here... </script> Or you can import a javascript from some link: <script type="text/javascript" src="jquery-3.3.1.js"></script> Example <html lang="en"> <head>...
Introduction to selectors
CSS (Cascading Style Sheets) selectors are patterns used to select the HTML elements you want to style. They are fundamental to applying styles effectively and efficiently. Here's an introduction to CSS selectors with some interesting examples: Basic Selectors...
Basic selectors
Here is an example of basic selectors: <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * ...
Attribute selectors
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Attribute Selector Example</title> <style> a { text-decoration: none; color: blue; } ...
Pseudo selectors
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Pseudo-Selectors Example</title> <style> body { display: flex; flex-dir...
Combinators
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CSS Combinators Example</title> <style> /* Child combinator example */ .parent>.child { color: b...
Pseudo elements
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Stylized Quote Box with Pseudo-elements</title> <style> body { font-family: Arial, ...
Select element with multiple classes
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Multiple CSS Classes Example</title> <style> body { font-family: Arial, sans-serif;...
Select elements by attributes with patterns
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Interactive Cards with CSS3 Selectors</title> <style> body { font-family: Arial, sa...
Other ways to select element by attribute
You can experiment with these: /* or using the fact that it has an attribute! */ [attr] { font-size:smaller; } /* or that the attribute has a specific value */ [attr='value'] { font-size:smaller; } /* starts with a value (CSS 3) */ [attr^='val'] { font-size:...
Descendant vs direct child
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CSS Selector Example: Descendants vs Direct Children</title> <style> body { font-fa...
Group selectors
By grouping selectors together, you can apply same style to elements selected by any of these selectors. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Gr...
Nested style rules
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Nested CSS Example - Interactive Card</title> <style> body { font-family: Arial, sa...
Ksitigarbha soetra
Hoofdstuk 1 — Goddelijke Kracht in de Trayastrimsa Hemel Zoals ik het gehoord heb: Op een gegeven moment verscheen Boeddha Sakyamuni in de Trayastrimsa Hemel om de Dharma te onderwijzen aan zijn moeder, Mevrouw Maya. Op dat moment kwamen ontelbare Boeddha's, B...