2015年7月17日 星期五

svg

SVG路徑 - <路徑>
在<path>元素被用來定義一個路徑。
下面的命令可用於路徑數據:
M =通過MoveTo
L =了lineTo
H =水平了lineTo
V =垂直了lineTo
C = curveto
S =光滑curveto
Q =二次貝塞爾曲線
中T =光滑二次貝塞爾curveto
A =橢圓弧
Z = closepath
The <path> element is used to define a path.
The following commands are available for path data:
  • M = moveto
  • L = lineto
  • H = horizontal lineto
  • V = vertical lineto
  • C = curveto
  • S = smooth curveto
  • Q = quadratic Bézier curve
  • T = smooth quadratic Bézier curveto
  • A = elliptical Arc
  • Z = closepath

2015年7月15日 星期三

對象

Creating a JavaScript Object.

clock


帆布教程

2015年7月14日 星期二

改變圖像

請選擇材料 :

over

Mouse Over Me

Note: This example does not work in Internet Explorer and Safari.

目錄

text1
text2

2015年7月13日 星期一

透明4

Image to use:

The Scream

Canvas to fill:

Your browser does not support the HTML5 canvas tag.

Canvas3透明

Your browser does not support the HTML5 canvas tag.

canvas2透明

2015年7月10日 星期五

index
表格中資料的對齊方式
水平置中 垂直向下 水平向右
垂直向上

姓名 部門 分機號碼

HTML5 <圖>和
元素

國立東華大學(英語:National Dong Hwa University, NDHU),是一所位於臺灣花蓮縣壽豐鄉的國立大學,為全國學門規模最大的五所綜合大學之一,也是臺灣東部首座綜合大學,創立於1994年,面積廣達258.88公頃,於2008年與國立花蓮教育大學合併,新校名仍為「國立東華大學」,並成立「花師教育學院」。東華現為東臺灣的學術科研、產業發展、網際網路中心,也是「臺灣歐洲聯盟中心」成員之一。

The Pulpit Rock
Fig.1 - 花蓮 東華大學

導航鏈接

一個HTML5骨架

HTML5

HTML5 Skeleton

Famous Cities

London

London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.

Paris

Paris is the capital and most populous city of France.

Tokyo

Tokyo is the capital of Japan, the center of the Greater Tokyo Area, and the most populous metropolitan area in the world.

© 2014 W3Schools. All rights reserved.

Select images:

Try selecting more than one file when browsing for files.

Note: The multiple attribute of the input tag is not supported in Internet Explorer 9 and earlier versions.

矩形反復消逝5秒以上

Note: This example does not work in Internet Explorer and Safari.

Sorry, your browser does not support inline SVG.

矩形變大

Note: This example does not work in Internet Explorer and Safari.

Sorry, your browser does not support inline SVG.

文字移動

Note: This example does not work in Internet Explorer and Safari.

It's SVG! Sorry, your browser does not support inline SVG.

橢圓旋轉

Note: This example does not work in Internet Explorer and Safari.

移動,旋轉

Note: This example does not work in Internet Explorer and Safari.

Sorry, your browser does not support inline SVG.

svg 漸層

SVG實例 Sorry, your browser does not support inline SVG.

svg 陰影

Note: Internet Explorer 9 and earlier versions do not support SVG filters.

Sorry, your browser does not support inline SVG.

svg 本文連結

I love SVG! Sorry, your browser does not support inline SVG.

svg 本文旋轉

I love SVG Sorry, your browser does not support inline SVG.

svg 本文

I love SVG! Sorry, your browser does not support inline SVG.

svg 路徑

Sorry, your browser does not support inline SVG.

svg 折線

Sorry, your browser does not support inline SVG.

svg line

Sorry, your browser does not support inline SVG.

svg橢圓

Sorry, your browser does not support inline SVG.

svg圓角

Sorry, your browser does not support inline SVG.

svg透明

Sorry, your browser does not support inline SVG.

svg

Sorry, your browser does not support inline SVG.

2015年7月8日 星期三

啟動時鐘


帆布教程

繪製時鐘指針

繪製時鐘數

drawClock

畫圓

drawImage

Image to use:
The Scream Canvas to fill:
Your browser does not support the HTML5 canvas tag.

停止時間

A script on this page starts this clock:

警告窗

Click "Try it". Wait 3 seconds. Your page will alert "Hello".

When you close the alert box, an new alert box will appear in 3 seconds.

This will go on forever, until you close the window.

顯示目前時間

A script on this page starts this clock:

password

User name:

User password:

The characters in a password field are masked (shown as asterisks or circles).

1234

2015年7月6日 星期一

datetime-local
date
datetime
color

input

image
button
checkbox
color
datetime-local
email
number
radio
text

2015年7月5日 星期日

背景圖

open
123

+ and -

text

2015年7月4日 星期六


ChangImage new


123


select index

Click the button to select the option element with index "2".

Note: The index starts at 0.

0 100 + =

改變圖像(SelectIndex)


123


改變圖片


圖片透明3

This is some text that is placed in the transparent box.

圖片透明2

Image Transparency

klematis klematis

Note: In IE, a !DOCTYPE must be added for the :hover selector to work on other elements than the a element.

圖片透明

Image Transparency

klematis

2015年7月3日 星期五

書籤(圖片)

書籤

Chapter 1

This chapter explains ba bla bla

Chapter 2

This chapter explains ba bla bla

Chapter 3

This chapter explains ba bla bla

Chapter 4

This chapter explains ba bla bla

Chapter 5

This chapter explains ba bla bla

Chapter 6

This chapter explains ba bla bla

Chapter 7

This chapter explains ba bla bla

Chapter 8

This chapter explains ba bla bla

Chapter 9

This chapter explains ba bla bla

Chapter 10

This chapter explains ba bla bla

Chapter 11

This chapter explains ba bla bla

Chapter 12

This chapter explains ba bla bla

Chapter 13

This chapter explains ba bla bla

Chapter 14

This chapter explains ba bla bla

Chapter 15

This chapter explains ba bla bla

Chapter 16

This chapter explains ba bla bla

Chapter 17

This chapter explains ba bla bla

jQuery的淡入

Demonstrate fadeIn() with different parameters.





溢出

The overflow property specifies what to do if the content of an element exceeds the size of the element's box.
overflow:scroll
overflow:hidden

email

Written by WUP3615.
Password Test
姓        名:
生        日:
地        址:
電        話:
電子郵件:
帳號名稱:
密碼設定:
密碼確認:

2015年6月29日 星期一

Load new document

顯示當前URL的路徑名

Display the path name of the current URL.

顯示主機名(和端口如果不是80)當前URL的

Display the hostname (and the port if not 80) of the current URL.

顯示當前頁面的完整URL

Display the entire URL of the current page.

switch

SCROLL

Click the button to scroll the document window 300 pixels horizontally and 500 pixels vertically.

mousemove

This example uses the addEventListener() method to attach a "mousemove" event to a div element.

Mouse over the rectangle above, and get the coordinates of your mouse pointer.

mouseDown

This example uses the addEventListener() method to attach a "mousedown" and "mouseup" event to a p element.

Click me.

改變本文文字顏色

Click the text! The mouseDown() function is triggered when the mouse button is pressed down over this paragraph, and sets the color of the text to red. The mouseUp() function is triggered when the mouse button is released, and sets the color of the text to green.

mouseup and mousedown

Press down and release the mouse button over this div element.
123

2015年6月27日 星期六

畫圓

Your browser does not support the HTML5 canvas tag.

畫方

Your browser does not support the HTML5 canvas tag.

2015年6月26日 星期五

檢查窗口開閉



關閉新窗口

使用open()來打開一個新的窗口,close()來關閉新窗口

打開一個新的窗口,並設置其寬度和高度250像素

Open a new window, and resize the width and height to 500px:

偵側瀏覽器窗口大小


2015年6月19日 星期五

HTML5 Canvas

Image    HTML5 Canvas     影像圖片的容量計算方式

2015年6月8日 星期一

添加更多的樣式

First Name Last Name Points
Jill Smith 50
Eve Jackson 94
John Doe 80

First Name Last Name Points
Jill Smith 50
Eve Jackson 94
John Doe 80

不同的樣式不同的表

First Name Last Name Points
Jill Smith 50
Eve Jackson 94
John Doe 80

First Name Last Name Points
Jill Smith 50
Eve Jackson 94
John Doe 80

一個HTML表格有了一個標題

Monthly savings
Month Savings
January $100
February $50

表格跨越多列

Cell that spans two rows:

Name: Bill Gates
Telephone: 555 77 854
555 77 855

表格跨越多行

Cell that spans two columns:

Name Telephone
Bill Gates 555 77 854 555 77 855

2015年6月7日 星期日

獲取的下拉列表選項的數目

There are 0 options in the list.

顯示表單id

The id of the form is:

顯示形式方法

First name:
Last name:

Click "Try it" to display the value of the form method.

顯示輸出目標

First name:
Last name:

Click "Try it" to display the target of the form:

顯示表單名稱

First name:
Last name:

Click "Try it" to display the name of the form:

顯示選項的索引

Select your favorite fruit:

輸出所有選項

Select your favorite fruit:

打開表單內容


表單選擇

Select your favorite fruit:

表單多選

Before you click "Select multiple", you cannot select more than one option (by holding down the Shift or Ctrl key).

After you have clicked "Select multiple", you can.

表單選擇(禁用)


Note: 確認你的選擇

2015年6月6日 星期六

圖片廣告連結



連結

輸入(表格)

A demonstration of how to access a Number field

Click the button to get the number of the number field.
Note: input elements with type="number" are not supported in IE 9 and earlier versions.

no1
no2
no3

A demonstration of how to access a Number field

Click the button to get the number of the number field.
Note: input elements with type="number" are not supported in IE 9 and earlier versions.


輸入編號對象

A demonstration of how to access a Number field

Click the button to get the number of the number field.
Note: input elements with type="number" are not supported in IE 9 and earlier versions.

lastIndexOf()方法

Please locate where 'locate' occurs!.

普通的HTML事件

下面是一些常見的HTML事件的列表:
事件描述
的onchange一個HTML元素已被改變
的onclick用戶點擊一個HTML元素
的onmouseover用戶在一個HTML元素上移動鼠標
的onmouseout用戶從一個HTML元素移動鼠標移開
的onkeydown用戶按下鍵盤鍵
onload事件該瀏覽器已完成加載頁面

person.fullName

Creating and using an object method.

An object method is a function definition, stored as a property value.

Value too small

Value too large

輸入 input

Enter a number and click OK:

If the number is less than 100 or greater than 300, an error message will be displayed.

如果該數小於100或大於300,則顯示錯誤消息

Enter a number and click OK:

If the number is less than 100 or greater than 300, an error message will be displayed.

java and javascript

java

JavaScript

w3cschool

寫入瀏覽器的控制台,使用的console.log_

My First Web Page

My first paragraph.

Activate debugging in your browser (Chrome, IE, Firefox) with F12, and select "Console" in the debugger menu.