HTML + CSS: Difference between revisions

From XPUB & Lens-Based wiki
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
==code editors==
==code editors==
ide's


* https://brackets.io/
* https://brackets.io/
* https://vscodium.com/
* https://code.visualstudio.com/ (Microsoft)
* https://vscodium.com/ (community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code; without telemetry/tracking)
* https://www.geany.org/
* https://www.geany.org/
* https://kate-editor.org/
* https://kate-editor.org/
* https://www.sublimetext.com/
* https://www.sublimetext.com/ (freeware)
* https://pulsar-edit.dev/ (fork of Atom)
* https://notepad-plus-plus.org/ (Windows only)
* https://www.vim.org/ (terminal based)
* https://www.gnu.org/software/emacs/ (terminal based)
* https://www.nano-editor.org/ (terminal based)


==HTML==
==HTML==
Line 13: Line 17:
HyperText Markup Language
HyperText Markup Language


<nowiki><head></nowiki>
<syntaxhighlight lang="html">
<nowiki><body></nowiki>
 
<nowiki><h1></nowiki>
<head>
<nowiki><img></nowiki>
<body>
<h1></h1>
<p></p>
<img>


* inspector
</syntaxhighlight>
* commonly used elements
* linking to each other
* adding media (images, video, audio)


==CSS==
==CSS==


* commonly used elements
Cascading Style Sheets
 
<syntaxhighlight lang="css">
body{
    background-color: pink;
    color: green;
    margin: 100px;
}
</syntaxhighlight>
 
* a code block like the one above: is a '''rule'''
* <code>body</code>: is a '''selector'''
* <code>background-color</code>: is a '''property'''
* <code>pink</code>: is a '''value'''


==W3C==
==W3C==
Line 49: Line 66:
* https://developer.mozilla.org/en-US/docs/Web/CSS
* https://developer.mozilla.org/en-US/docs/Web/CSS


==upload your HTML page to a server==
==XPUB web pages==


* [https://wiki.filezilla-project.org/Main_Page FileZilla]
first pages XPUB1 2022-2024
 
==XPUB1 web pages==
 
first pages


* https://hub.xpub.nl/breadcube/~bo/first-webpage.html
* https://hub.xpub.nl/breadcube/~bo/first-webpage.html
Line 68: Line 81:
* https://hub.xpub.nl/breadcube/hyperworld/
* https://hub.xpub.nl/breadcube/hyperworld/


==Links==
==Pad traces==
 
* https://pad.xpub.nl/p/SI19-prototyping-2 HTML + CSS intro
* https://pad.xpub.nl/p/SI19-prototyping-3 HTML + CSS continued
* https://pad.xpub.nl/p/SI19-prototyping-4 CSS Flex, Grid, Transition, Animation


* https://pad.xpub.nl/p/SI19-prototyping-2
[[Category:Cookbook]]
* https://pad.xpub.nl/p/SI19-prototyping-3
[[Category:PagedMedia]]

Revision as of 11:24, 6 October 2023

code editors

HTML

HyperText Markup Language

<head>
<body>
<h1></h1>
<p></p>
<img>

CSS

Cascading Style Sheets

body{
    background-color: pink;
    color: green;
    margin: 100px;
}
  • a code block like the one above: is a rule
  • body: is a selector
  • background-color: is a property
  • pink: is a value

W3C

W3C is the Web consortium that make decisions about web standards.

They write very heavy documentation. This documentation is mostly used by people making web browsers.

https://www.w3.org/

tutorials & zines

documentation

XPUB web pages

first pages XPUB1 2022-2024

hyperworld

Pad traces