Hyperlink (anchor) When writing the href address of the hyperlink, pay attention to whether If the corresponding parsing protocol is written, if the protocol is not set, the default text protocol of the local file will be used."/> Hyperlink (anchor) When writing the href address of the hyperlink, pay attention to whether If the corresponding parsing protocol is written, if the protocol is not set, the default text protocol of the local file will be used.">

Home  >  Article  >  Web Front-end  >  Understand the basic tags of html

Understand the basic tags of html

PHP中文网
PHP中文网Original
2017-06-22 11:08:011165browse

1. HyperText Markup Language content, html is a weak code language, and the code writing is not rigorous

1. Hyperlink

超级链接(anchor)

When writing the href address of a hyperlink, pay attention to whether the corresponding parsing protocol is written. If the protocol is not set, follow the default local file text protocol

https, http, Email, custom (Thunder), etc.;

2, other tags

  
地址(address)
粗体(bold) 放大(big)
引用块(blockquote)

换行(break)
居中(center)
引用(cite) 代码(code) 删除(delete) 定义(definition)

区块(pision)

强调(emphasize)
横线(horizontal) 斜体(italic) 下划线(italic)

p 段落(paragraph)

按预定格式显示的文本(Preformatted)
引用(quote) 例子(sample) 缩小(small) 文本段(span) 重点强调(strong emphasized) · 下标(subscript) 上标(superscript) 电传打字机(teletype)(等宽字体) 可变文本(variable)

3, title tag

标题1

标题2

标题3

标题4

标题5
标题6

4, list tag ——

[1], dl dictionary list (dictionary list)

  
    
dt 字典标题(dictionary title)
    
dd 字典数据(dictionary data)
    
dt 字典标题(dictionary title)
 
dd 字典数据(dictionary data)
  

[2], ol ordered list (order list)

  1. li 列表项(list item)
  2. li 列表项(list item)

[3], ul unordered list (unordered list)

 
  • 列表项(list item)
  • 列表项(list item)

5, form tag

表单(form)
图片图片(image)
input,type='text' 文本输入框(text)
input,type='radio' 单选框(radio)
input,type='checkbox' 复选框(checkbox)
input,type='file' 文件选择框(file)
input,type='hidden' 隐藏域(hidden)
input,type='image' 图片按钮(image)
input,type='password' 密码输入框(password)
input,type='reset' 重置按钮(reset)
input,type='submit' 提交按钮(submit)
input,type='button' 按钮

6, drop-down list box

select 选择列表(select)

7 , table table


  
    
    
  
  
    
    
  
td 表格数据(table data)td 表格数据(table data)
td 表格数据(table data)td 表格数据(table data)


The above is the detailed content of Understand the basic tags of html. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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