HTML 4.01 は下記リンクでid属性/class属性を定義しています。
id属性値は文法上、NAMEトークンであり、class属性値はCDATAのリストで表されるようです。
/** | |
* calculator.css | |
*/ | |
.calc-form { | |
border-collapse: separate; | |
border-spacing: 0.2em; | |
font-style: monospace; | |
} |
HTML 4.01 は下記リンクでid属性/class属性を定義しています。
id属性値は文法上、NAMEトークンであり、class属性値はCDATAのリストで表されるようです。
/** | |
* eval-calculation.js | |
* evaluate calculation formula. | |
* | |
* @version 1.0.0 | |
* @author think49 | |
* @url https://gist.github.com/think49/54b074cab2145efddb48765652c74710 | |
* @license http://www.opensource.org/licenses/mit-license.php (The MIT License) | |
*/ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>eval-calculation-map-sample.js</title> | |
<script> | |
/** | |
* eval-calculation-map-sample.js | |
* evaluate calculation formula. | |
* |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>calculation-sample.js</title> | |
<script> | |
/** | |
* calculation-sample.js | |
* evaluate calculation formula. | |
* |
/** | |
* array-findwordall.js | |
* | |
* @version 1.0.0 | |
* @author think49 | |
* @url https://gist.github.com/think49/811ac93dae801a4cec2e58a70a9b961a | |
* @license http://www.opensource.org/licenses/mit-license.php (The MIT License) | |
*/ | |
var findWordAll = (function (RegExp, call, test, replace) { |
/** | |
* find-corresponding-from-string.js | |
* | |
* @version 1.0.0 | |
* @author think49 | |
* @url https://gist.github.com/think49/53b4a2cedfcff3c1a1ea40390a7ff3d8 | |
* @license http://www.opensource.org/licenses/mit-license.php (The MIT License) | |
*/ | |
'use strict'; |
<!DOCTYPE html> | |
<html id="root"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>出題フォームを生成する</title> | |
<body> | |
<h1>出題フォームを生成する</h1> | |
<h2>実装</h2> |