Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537 Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537
TML 背景
設(shè)置背景顏色<body bgcolor="#000000">
設(shè)置背景圖片<body background="bg.jpg">
設(shè)置頁(yè)面文字顏色<body text="#cccccc">
顏色屬性值有三種值的格式
1,英文單詞,比如 red , yellow ,green …
<body bgcolor="yellow">
2, 十六進(jìn)制表示方式,#開頭,6個(gè)十六進(jìn)制的字符或數(shù)字 組合
比如:#FFFFFF,#000000,#CCCAAA,#22BCAD
十六進(jìn)制: 0-9 和 a-f
3, RGB模式,紅 0-255,綠 0-255,藍(lán) 0-255
比如: RGB(120,33,234)
HTML 表單
表單是一個(gè)包含表單元素的區(qū)域。
表單能夠包含 input 元素,textarea、select、fieldset、legend 和 label 元素。
表單使用標(biāo)簽(<form>)定義。
表單用于向服務(wù)器傳輸數(shù)據(jù)。
表單的結(jié)構(gòu)
<form name="form1" action="URL" method="get">
用戶名:<input type="text" name="uname" />
密 碼:<input type="password" name="passwd" />
</form>
屬性說(shuō)明
name表單的名稱
action表單提交地址
method表單數(shù)據(jù)提交的方式 (get ,post)
enctypeMIME類型
target打開方式
input標(biāo)簽
屬性說(shuō)明
typeinput元素類型
nameinput 元素的名稱
valueinput 元素的值
sizeinput 元素的寬度
readonly是否只讀
maxlength輸入字符的最大長(zhǎng)度
disabled是否禁用
1.文本框
<input type="text" name="username" value="" />
2.密碼框
<input type="password" name="passwd"/>
3.單選按鈕
<input type="radio" name="sex"value="1"checked="checked" />男
<input type="radio" name="sex"value="0"/>女
4.復(fù)選框
<input type="radio" name="sex"value="1"checked="checked" />男
<input type="radio" name="sex"value="0"/>女
<input type="checkbox"name="love"value="music" checked="checked"/> 聽音樂(lè)
<input type="checkbox"name="love" value="movie"/> 看電影
<input type="checkbox"name="love" value="game"/> 玩游戲
5.按鈕
<input type="button" name="btn" value="確定"/>
<input type="submit" name="comit" value="提交"/>
<input type="reset" name="reset" value="重寫"/>
<input type="image" name="img_btn" src="btn.gif"/>
6. 隱藏域
隱藏域用于在程序發(fā)送沒(méi)有必要讓用戶看到特定值的時(shí)候使用。
<input type="hidden" name="uid" value="10"/>
7. 上傳文件
<input type="file" name="photo"/>
注:利用這項(xiàng)功能時(shí),在 form 標(biāo)簽中要指定method屬性。要把method 指定為post, enctype屬性指定為 multipart/form-data。
<textarea> 多行文本框
<textarea name="content" rows="5" cols="50"> </textarea>
屬性說(shuō)明
name元素的名稱
rows指定文本框的高度
cols指定文本框的寬度
select下拉列表框
<select name="city">
<option value="0">請(qǐng)選擇</option
<option value="bj">北京</option>
<option value="gz">廣州</option>
</select>
屬性說(shuō)明
name下拉列表框的名稱
size下拉列表框的顯示行數(shù)
multiple是否多選
disabled是否禁用
selected設(shè)置默認(rèn)選中的選項(xiàng)
value選項(xiàng)的值
optgroup標(biāo)簽
optgroup 元素用于組合選項(xiàng) 。
屬性說(shuō)明
label指定組合選項(xiàng)名稱
fieldset標(biāo)簽
fieldset 標(biāo)簽作用是把表單中元素組合起來(lái)
<fieldset>
<legend></legend> length為字符長(zhǎng)度
<form></form>
</fieldset>
label標(biāo)簽
lable 標(biāo)簽的作用是將輸入項(xiàng)或選項(xiàng)及其標(biāo)簽文字關(guān)聯(lián)起來(lái)。
<input type="radio" name="sex" value="1" id="male" />
<label for="male">男</label>
<input type="radio" name="sex" value="0" id="female" />
<label for="female">女</label>
標(biāo)經(jīng)過(guò)的時(shí)候,下拉內(nèi)容顯示;鼠標(biāo)離開的時(shí)候,下拉內(nèi)容隱藏。
段子手168
方法一:代碼破解法
打開你需要復(fù)制內(nèi)容的網(wǎng)頁(yè),在瀏覽器地址欄輸入“javascript:void($={});”這串代碼,
然后按下回車鍵,這時(shí)候就允許你復(fù)制文本了。
方法 二:打印網(wǎng)頁(yè)法
我們還可以利用打印網(wǎng)頁(yè)的時(shí)候,在預(yù)覽頁(yè)面將文本復(fù)制下來(lái)。按下快捷鍵【Ctrl+P】,
將會(huì)進(jìn)入打印界面,直接在右側(cè)的預(yù)覽界面,選中文本進(jìn)行復(fù)制。
方法三:后臺(tái)控制端
打開網(wǎng)頁(yè)后,按下功能鍵【F12】,進(jìn)入網(wǎng)頁(yè)后臺(tái)找到【Console】,
在下面輸入這串符號(hào)“$=0”,再2按下回車鍵,
網(wǎng)頁(yè)文字就能自由復(fù)制了。
方法四:查看源代碼
你還可以在網(wǎng)頁(yè)空白處,右擊選擇【查看頁(yè)面源代碼】,然后一直向下滑動(dòng),找到密密麻麻的文本,
選中直接復(fù)制提取出來(lái)。
方法五:保存本地網(wǎng)頁(yè)
打開網(wǎng)頁(yè)鼠標(biāo)右擊,選擇【網(wǎng)頁(yè)另存為】,然后在彈出的窗口中,
將保存類型改為【網(wǎng)頁(yè),僅HTML】,接著點(diǎn)擊【保存】。
關(guān)閉當(dāng)前網(wǎng)頁(yè),回到桌面找到剛剛保存的本地網(wǎng)頁(yè)文件,雙擊打開后,就可以隨意復(fù)制啦。
方法六:截圖識(shí)別文字
此外,我們還可以利用OCR文字識(shí)別技術(shù),將網(wǎng)頁(yè)文字識(shí)別出來(lái)。
需要借助掌上識(shí)別王工具,找到【文字識(shí)別】-【快速截圖識(shí)別】功能。
方法七:
網(wǎng)址最前面加上 read: (用 Microsoft Edge 瀏覽器打開)
方法八:
1)按 F12 打開調(diào)試框,點(diǎn)擊右上角【設(shè)置】。
2)往下拉,找到 【Debugger】
3)勾選 【Disable JavaScript】
4)返回頁(yè)面,按 F5 刷新一下頁(yè)面,這樣網(wǎng)頁(yè)文字就可以復(fù)制了。
*請(qǐng)認(rèn)真填寫需求信息,我們會(huì)在24小時(shí)內(nèi)與您取得聯(lián)系。