marquee 跑馬燈
<marquee behavior=alternate>內容</marquee>左 右 移動
<marquee hspace="70">左、右空白70xp</marquee>
<marquee loop="0">執行無限次</marquee>
<marquee loop="3">執行3次 </marquee>
<marquee scrolldelay="100">間隔時間</marquee>
><marquee scrolldelay="500">間隔時間</marquee>
<marquee scrollamount="50">移動50xp</marquee>
<marquee scrollamount="1">移動1xp</marquee>
<marquee behavior="slide">內容</marquee>
<marquee direction="right">內容</marquee>
<marquee direction="up">內容</marquee>
<marquee direction="down">內容</marquee>
<marquee onmouseover="this.stop(); " onmouseout="this.start();">滑鼠到此</marquee>
<marquee scrollamount="40" style="width:40px" ><b>內容</b></marquee>
<marquee vspace="30">上下空白30xp</marquee>
<marquee direction="down" width="100%" height="200" behavior="alternate" >
<marquee behavior="alternate">
This text will bounce
</marquee>
</marquee>
<marquee style="vertical-align:middle;" scrollamount="5" width="40"><<<</marquee>
ABCDE
<marquee style="vertical-align:middle;" direction="right" scrollamount="5" width="40">>>></marquee><<< ABCDE >>>
#html marquee
#html scrollamount
#html onmouseout
#html direction
#html onmouseover
#html 跑馬燈
#html scrolldelay
#html marquee
#html audio
#html MP3
#html 音頻
#html 音頻播放器
HTML fieldset 標簽
#html <fieldset>
#html <legend>
#html 圍繪邊框
ABCDE
<marquee style="vertical-align:middle;" direction="right" scrollamount="5" width="40">>>></marquee>
標簽 audio @ 音频
HTML5 Audio(音頻)
- 1)
- <audio controls="controls"
id="myVideo ">
<source src="" type="audio/ogg"></source>
<source src="https://api.zanmeishi.com/song/p/6607.mp3" type="audio/mpeg">
</source>
Your browser does not support the audio element.
</audio>
00
屬性 | 描述 |
audioTracks | 返回表示可用音頻軌道的 AudioTrackList 對像。 |
autoplay | 設置或返回是否在就緒(加載完成)後隨即播放音頻。 |
buffered | 返回表示音頻已緩衝部分的 TimeRanges 對像。 |
controller | 返回表示音頻當前媒體控制器的 MediaController 對像。 |
controls | 設置或返回音頻是否應該顯示控件(比如播放/暫停等)。 |
crossOrigin | 設置或返回音頻的 CORS 設置。 |
currentSrc | 返回當前音頻的 URL。 |
currentTime | 設置或返回音頻中的當前播放位置(以秒計)。 |
defaultMuted | 設置或返回音頻默認是否靜音。 |
defaultPlaybackRate | 設置或返回音頻的默認播放速度。 |
duration | 返回音頻的長度(以秒計)。 |
ended | 返回音頻的播放是否已結束。 |
error | 返回表示音頻錯誤狀態的 MediaError 對像。 |
loop | 設置或返回音頻是否應在結束時再次播放。 |
mediaGroup | 設置或返回音頻所屬媒介組合的名稱。 |
muted | 設置或返回是否關閉聲音。 |
networkState | 返回音頻的當前網絡狀態。 |
paused | 設置或返回音頻是否暫停。 |
playbackRate | 設置或返回音頻播放的速度。 |
played | 返回表示音頻已播放部分的 TimeRanges 對像。 |
preload | 設置或返回音頻的 preload 屬性的值。 |
readyState | 返回音頻當前的就緒狀態。 |
seekable | 返回表示音頻可尋址部分的 TimeRanges 對像。 |
seeking | 返回用戶當前是否正在音頻中進行查找。 |
src | 設置或返回音頻的 src 屬性的值。 |
textTracks | 返回表示可用文本軌道的 TextTrackList 對像。 |
volume | 設置或返回音頻的音量。 |
00
實例 |
<audio id="myVideo" controls="controls" 屬性="值" > <source src="xxx.ogg" type="audio/ogg" /> <source src="xxx.mp3" type="audio/mpeg" /> Your browser does not support the audio element. </audio> |
方法 | 描述 |
addTextTrack() | 向音頻添加新的文本軌道。 |
canPlayType() | 檢查瀏覽器是否能夠播放指定的音頻類型。 |
fastSeek() | 在音頻播放器中指定播放時間。 |
getStartDate() | 返回新的 Date 對像,表示當前時間線偏移量。 |
load() | 重新加載音頻元素。 |
play() | 開始播放音頻。 |
pause() | 暫停當前播放的音頻。 |
標簽 fieldset @ 邊框,
HTML fieldset 標簽
<fieldset> 標簽會在相關表單元素周圍繪制邊框
<fieldset>
<legend>黃金 ETF</legend><pre>
02840.HK SPDR 金 83168.HK 恆生人幣金ETF
03081.HK 價值黃金 09081.HK 價值黃金-U
83081.HK 價值黃金-R
</pre></fieldset>
<fieldset>
<legend style="text-align: center;color:red" >黃金 ETF</legend><pre>
02840.HK SPDR 金 83168.HK 恆生人幣金ETF
03081.HK 價值黃金 09081.HK 價值黃金-U
83081.HK 價值黃金-R
</pre></fieldset>
訂閱:
文章 (Atom)