Table highlighting based on scope
or headers
information.
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> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>We all scream for ice cream!</title> | |
<style id="jsbin-css"> | |
fieldset.hide { | |
display: none; | |
} |
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> | |
We all scream for ice cream! | |
</h1> | |
<form method="get" name="ice_cream" id="ice_cream" action="https://cscie12.dce.harvard.edu/echo"> | |
Would you like ice cream? | |
<label><input type="radio" name="want" id="ic_yes" value="yes" />Yes</label> | |
<label><input type="radio" name="want" id="ic_no" value="no" />No</label> | |
<fieldset id="icecream_options"> | |
<legend>Ice Cream Options</legend> |
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> | |
<title>Percentage widths, padding, margins, and box-sizing</title> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body> |
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>Basic HTML Form</title> | |
<meta charset="utf-8" /> | |
<body> | |
<h1>Basic HTML Form</h1> | |
<form method="post" action="http://morpheus.dce.harvard.edu/cgi-bin/echo.cgi"> |
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>Headings</title> | |
<meta charset="UTF-8" /> | |
</head> | |
<body> | |
<ul> | |
<li>Tea | |
<ul> |
Since "white space" characters are ignored in rendering HTML, the br
element is used for explicit line breaks.
Examples below are from the first part of Paul Revere's Ride
Clamshell Navigation
Nested list styled as "clamshell" navigation.
remove list styling make "a" element "block" display styles for secondary nested lists (e.g. selector for ul ul a)
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 () { | |
var app = angular.module('congressApp',['congress-people']); | |
app.controller('CongressController', ['$http', function ($http) { | |
var congress = this; | |
congress.people = []; | |
$http.get('people.json').success(function (data) { | |
congress.people = data; | |
}); | |
}]); |
NewerOlder