runoops.com

HTML 参考手册 第60页

HTML caption align 属

阅读(1382)

带有与底部对齐的 元素的表格: 实例 Run this code » <table border="1">   <caption align="bottom">My savings</caption>  ...

HTML5 canvas 参考手册 HTML 画布

阅读(1885)

描述 HTML5 <canvas> 标签用于绘制图像(通过脚本,通常是 JavaScript)。 不过,<canvas> 元素本身并没有绘制能力(它仅仅是图形的容器) - 您必须使用脚本来完成实际的绘图任务。 get...

HTML canvas 标签

阅读(2037)

通过 <canvas> 元素来显示一个红色的矩形: 实例 Run this code » <canvas id="myCanvas"></canvas> <script type="text/jav...

HTML canvas width 属性

阅读(1121)

高度和宽度为200像素的 : 实例 Run this code » <canvas id="myCanvas" width="200" height="200" style="border:1px solid"> 浏览器支持 所...

HTML canvas height 属性

阅读(995)

高度和宽度为 200 像素的画布(<canvas>): 实例 Run this code » <canvas id="myCanvas" width="200" height="200" style="border:1px...

HTML button 标签

阅读(1555)

以下代码标记一个按钮: 实例 Run this code » <button type="button">点我!</button> 浏览器支持 所有主流浏览器都支持 <button> 标签。 标签定义及使...

HTML button value 属性

阅读(1187)

两个按钮带有相同的名称,在单击它们时提交不同的值: 实例 Run this code » <form action="demo_form.html" method="get">   Choose your favorite su...

HTML button type 属性

阅读(1157)

两个 button 元素,一个是提交按钮,另一个是重置按钮: 实例 Run this code » <form action="demo_form.html" method="get">   First name: <in...

HTML button name 属性

阅读(1089)

两个按钮带有相同的名称,在单击它们时提交不同的值: 实例 Run this code » <form action="demo_form.html" method="get">   Choose your favorite su...

HTML button formtarget 属性

阅读(1233)

两个提交按钮,第一个提交按钮使用默认 target ("_self") 提交数据,第二个提交按钮将数据提交到到新窗口(target="_blank"): 实例 Run this code » <form action="demo_fo...