分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 软件开发

web基础,用html元素制作web页面

发布时间:2023-09-06 01:18责任编辑:沈小雨关键词:暂无标签

观察常用网页的HTML元素,在实际的应用场景中,用已学的标签模仿制作。

用div,form制作登录页面,尽可能做得漂亮。

练习使用下拉列表选择框,无序列表,有序列表,定义列表。

<!DOCTYPE html><html lang="en"><head> ???<meta charset="UTF-8"> ???<title>广州商学院</title></head><body><h1>广州商学院</h1><h2 id="2015">2015</h2><div id="container"style="width: 400px"> ???<div id="header"style="background-color: #FFA500":><h2 align="center "style="margin-bottom: 0">登录</h2></div> ???<div id="content"style="background-color: #EEEEEE;height:150px;width: 400px;float: left"> ???????<from action=""> ???????????Username:<input type="text"name="user"placeholder="用户名"><br> ???????????Passward:<input type="password"name="password"><br> ???????????<input type="radio"name="role"value="stu">student ???????????<input type="radio"name="role"value="tea">teacher<br> ???????????<input type="checkbox"value="true"><span>记住我</span><a href="">登录遇到的问题</a><br> ???????????<input type="button"value="login"onclick="alert(‘登录验证‘)"> ???????</from> ???</div><div id="footer"style="background-color: #FFA500 "><i>版权@CNY</i></div></div><hr><div> ???????<ul> ???????<li>python</li> ???????<li>html</li> ???</ul> ???<select> ???????<option>收藏</option> ???????<option>点赞</option> ???????<option>评论</option> ???</select> ???<hr><br> ???<h3 id="学院介绍">学院介绍</h3> ???<d1> ???????<dt><a href="http://site.gzcc.cn/">信息技术与工程学院</a> </dt> ???????????<dd><a href="http://site.gzcc.cn/html/xsgz/jsjxtw/">学院团学</a> </dd> ???????<dt><a href="http://sfl.gzcc.cn/">外国语学院</a></dt> ???????????<dd><a href="http://sfl.gzcc.cn/html/xsyd/txfc/">学院团学</a> </dd> ???</d1> ???<hr><br></div><div id="container"style="width: 400px"></div> <a href="http://www.gzcc.cn/" >友情链接:广州商学院官网</a></body></html>

web基础,用html元素制作web页面

原文地址:http://www.cnblogs.com/YyYyYy11/p/7680185.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved