Detailed explanation of html basic tags
1. 标题 : <h1> - <h6> 2. 分割线 : <hr> 3. 加粗: <strong> 4. 斜体: <em> <i> 5. 段落 : <p> 6. 换行 : <br/> 7. 超链接: <a> href 属性指定链接的地址 target ( 目标 ):_self ( 当前页面打开 ) _blank(新页面打开) 8. 图像: <img> src 资源链接属性 、alt 图片加载失败时给出提示 、title 鼠标在图片上方时所显示的内容 9. 无序列表: <ul> 属性 <li> type: disc ( 实心圆 ) circle ( 空心圆 ) square ( 方块 ) 有序列表: <ol> 属性 <li> 10. 表格: <table> 属性 border 边框: border="1" 表头: th(可以分别设置宽度width) 行: tr 列:td 11. 添加: <input> 属性 type: text(输入框) raido(单选框) checkbox(复选框) submit(提交按钮) button(按钮) file(选择文件) date(日期) value:显示的值 name:同一组下使用 12. 定义某个词:<span> 内容不会换行 13. 自定义列表: <dl> <dt>标题</dt> <dd>内容<dd> </dl> 14. H5视频: <video> 属性 src(加载路径) 播放器 controls 15. H5音频: <audio> 属性 src(加载路径) 播放器 control
http-equiv="Content-Type":http-equiv 属性为名称/值对提供了名称。并指示服务器在发送实际的文档之前先在要传送给浏览器的 MIME 文档头部包含名称/值对。 当服务器向浏览器发送文档时,会先发送许多名称/值对。虽然有些服务器会发送许多这种名称/值对,但是所有服务器都至少要发送一个:content-type:text/html。这将告诉浏览器准备接受一个 HTML 文档。 使用带有 http-equiv 属性的 <meta> 标签时,服务器将把名称/值对添加到发送给浏览器的内容头部. content=text/html:text/html是一种标准的文件类型映射说明,可以叫MIME,是所有平台通行的。text/html之外还有text/css、text/javascript、application/vnd.ms-excel等等。 浏览器是通过Content-Type这个标记来了解文件类型的,而不是后缀名。说明这是个html文件 charset=UTF-8:编码方式,用的是utf-8编码
The above is the detailed content of Detailed explanation of html basic tags. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
