This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
$labels = array( | |
"What’s on your mind?", | |
"Hey Joe, what do you know?", | |
"Speak your brains", | |
"Share what you know", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<title>Datalist test</title> | |
<meta charset="utf-8"> | |
<form> | |
<label for="source">How did you hear about us?</label> | |
<datalist id="sources"> | |
<select name="source"> | |
<option>please choose...</option> | |
<option value="television">Television</option> | |
<option value="radio">Radio</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Flexbox test</title> | |
<style> | |
@media screen and (min-width: 30em) { | |
body { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-box; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Input test</title> | |
</head> | |
<body> | |
<form method="post" action="#"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(win,doc) { | |
if (doc.querySelectorAll) { | |
var inputs = doc.querySelectorAll('input[list]'), | |
total = inputs.length; | |
for (var i=0; i<total; i++) { | |
var input = inputs[i], | |
id = input.getAttribute('list'), | |
list = doc.getElementById(id), | |
options = list.getElementsByTagName('option'), | |
amount = options.length, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
function postToFlickr($data=array()) { | |
$api_key = 'XXX'; | |
$api_secret = 'XXXX'; | |
$auth_token = 'XXXX'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
function getEmbedCode($url="",$maxwidth=320) { | |
$return = ''; | |
$providers = array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<title>Test</title> | |
<object data="foo.svg" type="image/svg+xml"> | |
<img src="foo.png"> | |
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Standardisation</h1> | |
There was not a lot of discussion of this at <a href=Introduction.html>ECHT90</a>, but there seem to be two leads: | |
<ol> | |
<li><a href=People.html#newcombe>Steve newcombe's</a> and Goldfarber's "Hytime" committee | |
looking into SGML, and | |
<li>An ISO working group known as MHEG, "Multimedia/HyperText Expert Group". | |
led by one Francis Kretz (Thompsa SA? Rennes?). | |
</lo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Table Display test</title> | |
<style> | |
@media screen and (min-width: 30em) { | |
body { | |
display: table; | |
caption-side: top; | |
} |
OlderNewer