Home  >  Article  >  Web Front-end  >  What are the interactive elements of html5 pages?

What are the interactive elements of html5 pages?

青灯夜游
青灯夜游Original
2021-12-16 16:58:314123browse

html5 page interactive elements include: 1. details, used to represent a specific piece of content; 2. summary; 3. datagrid, used to control client data and display; 4. menu, used for interactive menus; 5 , command, used to process command buttons; 6. progress; 7. meter.

What are the interactive elements of html5 pages?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

HTML5 interactive elements: Functional content expression, there will be a certain relationship between content and data, and it is the basis of various events.

  • details: Used to represent a specific piece of content, but the content may not be displayed by default. It will be displayed only by interacting with the legend through some means (such as clicking) come out.

  • summary: The tag contains the title of the details element, and the "details" element is used to describe detailed information about the document or document fragment.

  • datagrid: Used to control client data and display, which can be updated in time by dynamic scripts.

  • menu: Mainly used for interactive menus (elements that were abandoned and then re-enabled).

  • command: Used to handle command buttons.

  • progress: Used to indicate the completion progress of a task. This progress can be uncertain, which just means that the progress is ongoing, but it is not clear how much work remains to be completed. You can also use a number between 0 and a maximum number (such as 100) to represent the exact progress completion status (such as progress percentage). There are two attribute values: value: the amount of work that has been completed. max: How much work is there in total. Note that the value of the value and max attributes must be greater than 0, and the value of value must be less than or equal to the value of the max attribute.

  • #meter: Tag defines a scalar measurement within a known range or fractional value. Also known as gauge.

Example:

 



HTML5中常用的交互元素

 
------------------------------------------------------------------

	
		打开	
	
  
  


显示内容
我被显示出来了


HTML 5 欢迎使用 summary 标签


  • What are the interactive elements of html5 pages? Chrome浏览器
  • What are the interactive elements of html5 pages? 360浏览器
  • What are the interactive elements of html5 pages? IE浏览器


  • Click Me!

    开始下载



    120人参与投票,明细如下:

    张三: 30%

    李四: 70%



    What are the interactive elements of html5 pages?

    Recommended tutorial: "html video tutorial"

    The above is the detailed content of What are the interactive elements of html5 pages?. 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