HTML/CSS基础 |
您所在的位置:网站首页 › 前端标签大全 › HTML/CSS基础 |
HTML常用标签divh1~h6, p, span, strong, em…ul, li, ol, dl, dt, ddform表单相关table表格相关img, canvasaHTML5标签查询HTML常用标签div div标签用于组合其他HTML元素,本身无实在意义。常用于页面的布局,比如一个展开式的广告页面框架大致如下: h1~h6, p, span, strong, em…此类标签用于设置文本,常见的使用方式是填充段落,比如弹出的legal框文字HTML结构如下: LEGAL*Requires a system with Intel® Turbo Boost Technology. Intel® Turbo Boost Technology and Intel® Turbo Boost Technology 2.0 are only available on select Intel® processors. Consult your PC manufacturer. Performance varies depending on hardware, software, and system configuration. For more information, visit http://www.intel.com/go/turbo. Copyright © 2014 Intel Corporation. All rights reserved. Intel, the Intel logo, Intel Core, Look Inside, Intel Inside, and Pentium are trademarks of Intel Corporation in the U.S. and/or other countries. Other names and brands may be claimed as the property of others. ul, li, ol, dl, dt, dd此类标签用于设置带有列表内容的,比如导航栏的下拉菜单,多视频的缩略图等: Build & Price Incentives & Offers Request a Local Quote Search Dealer Inventory form表单相关页面中涉及到表单时候,需要使用到form相关标签: Check if visualCaptcha is filled Submit form table表格相关页面中涉及到table结构,需要使用到table相关标签: img, canvas用于图像显示。一般不直接操作img,canvas元素,而是在它的外层包裹一层父级元素(可以为span,div等),对父级元素进行操作: aa标签用于打开链接,发送邮件,段落跳转等功能。使用时需要注意阻止掉标签的默认事件。 链接跳转,常见的关于分享按钮的HTML结构如下: 发送邮件的代码片段如下: 段落跳转代码片段如下: HTML5标签查询W3School: 点击查询 原文: https://leohxj.gitbooks.io/front-end-database/content/html-and-css-basic/common-tag.html |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |