html5 is not a new language. HTML (Hypertext Markup Language) is a markup language created in 1990, and html5 is the fifth major revision of HTML. HTML5 has made certain improvements based on the previous HTML4.01. Its main purpose is to make the Web Consensus-based standards become easier for developers and browser creators to follow, increasing compliance and enhancing their compliance.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
html5 is not a new language. HTML5 is the fifth major modified version of HTML.
HTML5 is a language description method for constructing web content. HTML5 is the next generation standard of the Internet and a language method for constructing and presenting Internet content. It is considered to be one of the core technologies of the Internet. HTML was created in 1990, and HTML4 became an Internet standard in 1997 and is widely used in the development of Internet applications.
HTML is a markup language created in 1990 by Tim Berners-Lee, the inventor of the Web, and his colleague Daniel W. Connolly. It is an application of the standard generalized markup language SGML. Hypertext documents written in HTML are called HTML documents, which are independent of various operating system platforms (such as UNIX, Windows, etc.). Using HTML, the information that needs to be expressed is written into HTML files according to certain rules, recognized by a dedicated browser, and these HTML files are "translated" into identifiable information, that is, the web pages we see.
HTML5 is the specification of the core language HTML in the Web. The content that users see when browsing the web using any means is originally in HTML format. It is converted into a recognizable format through some technical processing in the browser. Information. HTML5 has made certain improvements on the basis of the previous HTML4.01. Although technical personnel may not put these new technologies into application during the development process, website development technical personnel must be aware of the new features of this technology. understand.
html5 is a set of technology combinations including HTML, CSS and JavaScript that enhances the performance of Web pages. Secondly, web application functions such as local database are added.
HTML5 was developed to resolve compatibility issues affecting the current standard HTML4. One of the biggest differences between HTML5 and previous versions of the standard is that older versions of HTML required proprietary plug-ins and APIs. (This is why a web page built and tested in one browser may not load correctly in another browser.) HTML5 provides a common interface that makes loading elements easier. For example, there is no need to install the Flash plugin in HTML5 as the element will run on its own.
The purpose of HTML5 is primarily to make it easier for web developers and browser creators to follow consensus-based standards, thereby improving compliance and enhancing compliance. It is also designed to provide a better, faster, and more consistent user experience for desktop and mobile visitors.
One of the design goals of HTML5 is to support multimedia on mobile devices. New syntax features have been introduced to support this functionality, such as video, audio and canvas tags. HTML5 also introduces new features that can truly change the way users interact with documents.
HTML version
Since the birth of HTML, after continuous development, many HTML versions have appeared on the market. A brief introduction to HTML versions is as follows :
HTML Version | Version Description |
---|---|
HTML 1.0 | HTML 1.0 version, released in 1991. |
HTML 2.0 | The second version of HTML, released in 1995, added form elements and file upload functions. |
HTML 3.2 | The third version of HTML was released by the W3C in early 1997, which added the ability to create tables and forms. |
HTML 4.01 | HTML 4.01 was released in December 1999. This version added support for style sheets (CSS). HTML 4.01 is a very stable version and is the current official standard. |
HTML 5 | The first draft of HTML5 was released in January 2008. It is recognized as the next generation Web language and has greatly improved the Web's capabilities in rich media, rich content and Its capabilities in rich applications and other aspects have been hailed as an important driving force that will eventually change the mobile Internet. |
HTML 4 and HTML 5 (referred to as H5) are the two most important versions. HTML 4 has adapted to the PC Internet era, and HTML 5 has adapted to the mobile Internet era.
HTML 5 adds a lot of semantic tags based on HTML 4 and is more powerful. Except for lower versions of IE browsers, almost all other browsers can support HTML 5 well. If your users rarely use Internet Explorer, feel free to use HTML 5.
Some interesting new features in HTML5:
The canvas element for painting.
Video and audio elements for media playback
Better support for local offline storage.
New special content elements, such as article, footer, header, nav, section.
New form controls, such as calendar, date, time, email, url, search.
Related recommendations: "html video tutorial"
The above is the detailed content of Is html5 a new language?. For more information, please follow other related articles on the PHP Chinese website!

html5的div元素默认一行不可以放两个。div是一个块级元素,一个元素会独占一行,两个div默认无法在同一行显示;但可以通过给div元素添加“display:inline;”样式,将其转为行内元素,就可以实现多个div在同一行显示了。

html5中列表和表格的区别:1、表格主要是用于显示数据的,而列表主要是用于给数据进行布局;2、表格是使用table标签配合tr、td、th等标签进行定义的,列表是利用li标签配合ol、ul等标签进行定义的。

固定方法:1、使用header标签定义文档头部内容,并添加“position:fixed;top:0;”样式让其固定不动;2、使用footer标签定义尾部内容,并添加“position: fixed;bottom: 0;”样式让其固定不动。

html5中不支持的标签有:1、acronym,用于定义首字母缩写,可用abbr替代;2、basefont,可利用css样式替代;3、applet,可用object替代;4、dir,定义目录列表,可用ul替代;5、big,定义大号文本等等。

HTML5中画布标签是“<canvas>”。canvas标签用于图形的绘制,它只是一个矩形的图形容器,绘制图形必须通过脚本(通常是JavaScript)来完成;开发者可利用多种js方法来在canvas中绘制路径、盒、圆、字符以及添加图像等。

html5废弃了dir列表标签。dir标签被用来定义目录列表,一般和li标签配合使用,在dir标签对中通过li标签来设置列表项,语法“<dir><li>列表项值</li>...</dir>”。HTML5已经不支持dir,可使用ul标签取代。

3种取消方法:1、给td元素添加“border:none”无边框样式即可,语法“td{border:none}”。2、给td元素添加“border:0”样式,语法“td{border:0;}”,将td边框的宽度设置为0即可。3、给td元素添加“border:transparent”样式,语法“td{border:transparent;}”,将td边框的颜色设置为透明即可。

因为html5不基于SGML(标准通用置标语言),不需要对DTD进行引用,但是需要doctype来规范浏览器的行为,也即按照正常的方式来运行,因此html5只需要写doctype即可。“!DOCTYPE”是一种标准通用标记语言的文档类型声明,用于告诉浏览器编写页面所用的标记的版本。


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.
