Home Web Front-end HTML Tutorial HTML基础知识自学教程_html/css_WEB-ITnose

HTML基础知识自学教程_html/css_WEB-ITnose

Jun 21, 2016 am 08:48 AM

分类:WEB前端时间: 2015年9月8日

HTML 是用来描述网页的一套标记标签,是我们在web前端开发中的基础。下面PHP程序员雷雪松主要结合自己的经验给大家分享下HTML的基础知识,以及在自学过程中一些比较常用的和重要的HTML知识点。

基本标签

创建一个HTML文档 

设置文档标题以及其他不在WEB网页上显示的信息 

将文档的题目放在标题栏中 

设置文档的可见部分 

标签定义文档与外部资源的关系 

标签用于定义客户端脚本 <script></script>

文本标签

最大的标题 

最小的标题 

黑体字 

斜体字 

创建一个引用,通常是斜体 

加重一个单词(通常是斜体加黑体) 

链接

超链接 

自动发送电子邮件的链接 ….

位于文档内部的靶位 

指向位于文档内部靶位的链接 

格式排版

可定义文档中的分区或节,常用来布局 

创建一个新的段落 

插入一个回车换行符 

加入一条水平线 


创建一个定义列表 

放在每个定义术语词之前 

放在每个定义之前 

创建一个标有数字的列表 

    放在每个数字列表项之前,并加上一个数字 

  1. 创建一个标有圆点的列表 

      放在每个圆点列表项之前,并加上一个圆点 

    • 图形元素

      添加一个图像 HTML基础知识自学教程_html/css_WEB-ITnose

      表格

      创建一个表格 

      设置表格头:一个通常使用黑体居中文字的格子 

      开始表格中的每一行 

      开始一行中的每一个格子 

      表单

      对于功能性的表单,HTML仅仅是产生表单的表面样子,为后台提供数据。

      创建所有表单 

      创建一个滚动菜单,size设置在需要滚动前可以看到的表单项数目 

      设置每个表单项的内容 

      创建一个下拉菜单 

      文本框区域,列的数目设置宽度,行的数目设置高度 

      复选框,文字在标签后面 

      单选框,文字在标签后面 

      单行文本输入区域,size设置以字符计的宽度 

      submit(提交)按钮 

      使用图象的submit(提交)按钮 

      reset(重置)按钮 

    • Statement of this Website
      The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

      Hot AI Tools

      Undresser.AI Undress

      Undresser.AI Undress

      AI-powered app for creating realistic nude photos

      AI Clothes Remover

      AI Clothes Remover

      Online AI tool for removing clothes from photos.

      Undress AI Tool

      Undress AI Tool

      Undress images for free

      Clothoff.io

      Clothoff.io

      AI clothes remover

      AI Hentai Generator

      AI Hentai Generator

      Generate AI Hentai for free.

      Hot Article

      Hot Tools

      Notepad++7.3.1

      Notepad++7.3.1

      Easy-to-use and free code editor

      SublimeText3 Chinese version

      SublimeText3 Chinese version

      Chinese version, very easy to use

      Zend Studio 13.0.1

      Zend Studio 13.0.1

      Powerful PHP integrated development environment

      Dreamweaver CS6

      Dreamweaver CS6

      Visual web development tools

      SublimeText3 Mac version

      SublimeText3 Mac version

      God-level code editing software (SublimeText3)

      What is the purpose of the <datalist> element? What is the purpose of the <datalist> element? Mar 21, 2025 pm 12:33 PM

      The article discusses the HTML &lt;datalist&gt; element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

      What is the purpose of the <progress> element? What is the purpose of the <progress> element? Mar 21, 2025 pm 12:34 PM

      The article discusses the HTML &lt;progress&gt; element, its purpose, styling, and differences from the &lt;meter&gt; element. The main focus is on using &lt;progress&gt; for task completion and &lt;meter&gt; for stati

      How do I use HTML5 form validation attributes to validate user input? How do I use HTML5 form validation attributes to validate user input? Mar 17, 2025 pm 12:27 PM

      The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

      What is the purpose of the <iframe> tag? What are the security considerations when using it? What is the purpose of the <iframe> tag? What are the security considerations when using it? Mar 20, 2025 pm 06:05 PM

      The article discusses the &lt;iframe&gt; tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

      What is the purpose of the <meter> element? What is the purpose of the <meter> element? Mar 21, 2025 pm 12:35 PM

      The article discusses the HTML &lt;meter&gt; element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates &lt;meter&gt; from &lt;progress&gt; and ex

      What are the best practices for cross-browser compatibility in HTML5? What are the best practices for cross-browser compatibility in HTML5? Mar 17, 2025 pm 12:20 PM

      Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

      What is the viewport meta tag? Why is it important for responsive design? What is the viewport meta tag? Why is it important for responsive design? Mar 20, 2025 pm 05:56 PM

      The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

      How do I use the HTML5 <time> element to represent dates and times semantically? How do I use the HTML5 <time> element to represent dates and times semantically? Mar 12, 2025 pm 04:05 PM

      This article explains the HTML5 &lt;time&gt; element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

      See all articles