日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

dya-11(周一)新的知识点

發(fā)布時(shí)間:2023/12/20 编程问答 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 dya-11(周一)新的知识点 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

?整理一下學(xué)習(xí)新的知識(shí)點(diǎn)

郵箱 type=“email”

數(shù)字:type=“number”min最小值 max最大值 step 每次遞增數(shù)目

顏色:type=“color”了解即可

范圍區(qū)域:type=“range”

網(wǎng)址:type=“url”

搜索框:type=“search”可以做到局部清除

選擇年月日:date type=“date”

年月:month type=“month”

年周:week type=“week”

時(shí)間:time type=“time”

年月日+時(shí)間:datetime-local type=“datetime-local”

datetime 不常用

表格新增的屬性

placeholder 提示信息

required驗(yàn)證不能為空

maxlength最大長(zhǎng)度

autofocus進(jìn)入界面時(shí)自動(dòng)獲取焦點(diǎn)

autocomplete與name屬性鏈接用

下面為練習(xí)

<!DOCTYPE?html>

<html?lang="en">

<head>

????<meta?charset="UTF-8">

????<title>Document</title>

????<style>

????????.one?{

????????????width:?580px;

????????????height:?740px;

????????????border:?2px?solid?#c4c8c8;

????????}

????????h4?{

????????????margin-left:?30px;

????????}

????????legend?{

????????????padding:?6px?40px?8px?40px;

????????????border:?2px?solid?#c6caca;

????????????font-size:?14px;

????????????margin-left:?20px;

????????}

????????.yongh?{

????????????margin-left:?100px;

????????}

????????.mima?{

????????????margin-left:?100px;

????????}

????????.yong?{

????????????margin-left:?80px;

????????????margin-bottom:?10px;

????????}

????????.mima?{

????????????margin-left:?80px;

????????????margin-bottom:?10px;

????????}

????????.jiz?{

????????????margin-left:?60px;

????????????float:?left;

????????}

????????.jiz?input?{

????????????width:?16px;

????????????height:?16px;

????????}

????????.denglu?{

????????????/*?float:?left;?*/

????????????margin-left:?15px;

????????}

????????.denglu?input?{

????????????width:?100px;

????????????height:?30px;

????????????background-color:?#d0f0fd;

????????}

????????a?{

????????????text-decoration:?none;

????????}

????????.wangji?{

????????????margin-top:?10px;

????????}

????????.tong?{

????????????margin-left:?50px;

????????????margin-top:?20px;

????????}

????????.tong?input?{

????????????width:?16px;

????????????height:?16px;

????????????margin-left:?18px;

????????}

????????.tong?a?{

????????????color:?#5f8799;

????????????margin-left:?10px;

????????}

????????.sub?{

????????????text-align:?center;

????????}

????????.sub?input?{

????????????width:?100px;

????????????height:?30px;

????????????margin-top:?10px;

????????????margin-left:?5px;

????????????background-color:?#d0f0fd;

????????}

????????.mo{

????????????color:?#4f757b;

????????????font-size:?15px;

????????????font-weight:?bold;

????????}

????????.nin{

????????????margin-left:?10px;

????????????color:?#4f757b;

????????????font-size:?15px;

????????????font-weight:?bold;

????????}

????????.nin?span{

????????????font-weight:?normal;

????????}

????????.two{

????????????width:?500px;

????????????margin:??0?auto;

????????????border:?3px?solid?#c4c8c8;

????????}

????????.two1{

????????????width:?500px;

????????????margin:?0?auto;

????????????border:?3px?solid?#c4c8c8;

????????}

????????legend{

????????????color:?#437e7e;

????????????font-weight:?bold;

????????}

????</style>

</head>

<body>

????<div?class="one">

????????<h4>已注冊(cè)用戶登錄</h4>

????????<fieldset?class="two">

????????????<legend>用戶登錄</legend>

????????????<div?class="yong">

????????????????用戶名&emsp;<input?type="text">

????????????</div>

????????????<div?class="mima">

????????????????密碼&emsp;&emsp;<input?type="password">

????????????</div>

????????????<div?class="jiz">

????????????????<input?type="checkbox"><u>記住我</u>

????????????</div>

????????????<div?class="denglu">

????????????????<input?type="submit"?value="登陸"?class="denglu">

????????????</div>

????????????<div?class="wangji">

????????????????<a?href="">您忘記密碼?</a>

????????????</div>

????????</fieldset>

????????<h4>未注冊(cè)創(chuàng)建賬戶</h4>

????????<fieldset?class="two1">

????????????<legend>用戶注冊(cè)</legend>

????????????<p?class="nin">您的電子郵箱不會(huì)被公布出去,但是必須填寫。<span>在您注冊(cè)之前請(qǐng)認(rèn)真閱讀服務(wù)條款</span></p>

????????????<div?class="yong">

????????????????用戶名&emsp;&emsp;<input?type="text">*(最多30個(gè)字符)

????????????</div>

????????????<div?class="mima">

????????????????電子郵箱&emsp;<input?type="email">*

????????????</div>

????????????<div?class="mima">

????????????????密碼&emsp;&emsp;&emsp;<input?type="password">*(最多15個(gè)字符)

????????????</div>

????????????<div?class="mima">

????????????????重復(fù)密碼&emsp;<input?type="password">*

????????????</div>

????????????<div?class="tong">

????????????????同意服務(wù)條款<input?type="checkbox"><a?href="">先看看條款?</a>*

????????????</div>

????????????<div?class="sub">

????????????????<input?type="submit">

????????????????<input?type="reset">

????????????</div>

????????????<p?class="mo">

????????????????*在提交您的注冊(cè)信息時(shí),我們認(rèn)為您已經(jīng)同意了我們的服務(wù)條款。<br>

????????????????<span>

????????????????????*這些條款可能在未經(jīng)您同意的時(shí)候進(jìn)行修稿。

????????????????</span>

????????????</p>

????????</fieldset>

????</div>

</body>

</html>

?

總結(jié)

以上是生活随笔為你收集整理的dya-11(周一)新的知识点的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。