Table of Contents
回复讨论(解决方案)
Home Web Front-end HTML Tutorial 网站开发_html/css_WEB-ITnose

网站开发_html/css_WEB-ITnose

Jun 21, 2016 am 09:01 AM
website development

H5开发和H4开发区别在哪


回复讨论(解决方案)

暂且假设你已经百度过,那补充说一下一般百度里边没有的结果:html5一般不叫h5,就叫html5。
他们的区别主要在设备上,html5是移动端开发开发的代名词,html4,xhtml是pc端呼风唤雨好多年。
然后按照历史的车轮,html4终究会被历史淘汰,但为了一些旧项目或其它装逼的需要,两个都要了解或学习。

标签用的不一样了,而且语法也变化了一些,目前主流的,都在向html5靠拢。

暂且假设你已经百度过,那补充说一下一般百度里边没有的结果:html5一般不叫h5,就叫html5。
他们的区别主要在设备上,html5是移动端开发开发的代名词,html4,xhtml是pc端呼风唤雨好多年。
然后按照历史的车轮,html4终究会被历史淘汰,但为了一些旧项目或其它装逼的需要,两个都要了解或学习。


我知道,主要是想知道HTML5写法上和H4区别

标签用的不一样了,而且语法也变化了一些,目前主流的,都在向html5靠拢。


这个知道,能告诉我写法开发方便有啥区别,举个例子可以吗?

一是在文档类型声明上

HTML4
nbsp;HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



html5就简化了
nbsp;html>




二是html5多了一些新功能, 比如绘图, 音频和视频



四是html5对表单新增了很多输入类型
email
url
number
range
Date pickers (date, month, week, time, datetime, datetime-local)
search
color

一是在文档类型声明上

HTML4
nbsp;HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



html5就简化了
nbsp;html>




二是html5多了一些新功能, 比如绘图, 音频和视频



四是html5对表单新增了很多输入类型
email
url
number
range
Date pickers (date, month, week, time, datetime, datetime-local)
search
color


如果说本身会H4写前端,再学HTML5开发会很慢或者很难吗?
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

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

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)

How to develop a hotel booking website using PHP How to develop a hotel booking website using PHP Oct 28, 2023 am 08:19 AM

How to use PHP to develop a hotel booking website With the development of the Internet, more and more people are beginning to arrange their travels through online booking. As one of the common online booking services, hotel booking websites provide users with a convenient and fast way to book hotels. This article will introduce how to use PHP to develop a hotel reservation website, allowing you to quickly build and operate your own online hotel reservation platform. 1. System requirements analysis Before starting development, we need to conduct system requirements analysis first to clarify what the website we want to develop needs to have.

Tips for Responsive Website Development with Webman Tips for Responsive Website Development with Webman Aug 14, 2023 pm 12:27 PM

Tips for Responsive Website Development with Webman In today’s digital age, people are increasingly relying on mobile devices to access the Internet. In order to provide a better user experience and adapt to different screen sizes, responsive website development has become an important trend. As a powerful framework, Webman provides us with many tools and technologies to realize the development of responsive websites. In this article, we will share some tips for using Webman for responsive website development, including how to set up media queries,

How to use Layui to develop a website that supports multi-language switching How to use Layui to develop a website that supports multi-language switching Oct 25, 2023 am 10:55 AM

How to use Layui to develop a website that supports multi-language switching. With the development of globalization, more and more websites need to support multi-language switching to meet the needs of different users. Layui is a very popular front-end framework that provides a series of easy-to-use components and tools that can help us quickly develop beautiful websites. This article will introduce how to use Layui to develop a website that supports multi-language switching, and provide specific code examples. First, we need to introduce Layui related files into the web page. Can

Understand nginx configuration tutorial in seconds and get started developing websites quickly Understand nginx configuration tutorial in seconds and get started developing websites quickly Jul 06, 2023 am 11:12 AM

Understand nginx configuration tutorial in seconds and quickly start developing websites. Recently, more and more developers choose to use nginx as a proxy server for website development. nginx has become the first choice for many people due to its high performance, low resource consumption and flexible configuration. But for novices, configuring nginx may be difficult. This article will take you step by step to understand nginx configuration and quickly get started developing a website through code examples. 1. Install nginx First, you need to install ngin on your computer or server

An in-depth discussion of the essential tools for Go language website development An in-depth discussion of the essential tools for Go language website development Jan 30, 2024 am 10:40 AM

With the development of the Internet, web development has become more and more important. In web development, choosing the right development language and tools is crucial. In recent years, the Go language has attracted much attention for its concurrency performance and simplicity, and has gradually become a popular choice in the field of web development. This article will introduce the necessary tools for website development in Go language to help readers deeply understand and use Go language for web development. 1. Introduction to Go language Go language is a compiled, statically typed open source programming language developed by Google. It inherits from C

An in-depth discussion of the importance of HTTP protocol status codes An in-depth discussion of the importance of HTTP protocol status codes Feb 25, 2024 pm 11:06 PM

An in-depth interpretation of HTTP protocol status codes: Why status codes are crucial to website development. With the rapid development of the Internet, website development has become more and more important. In website development, the HTTP protocol plays a vital role. It defines the communication specifications between browsers and servers to transfer data through requests and responses. The HTTP status code is part of this process and is used to indicate the processing of the request. This article will provide an in-depth explanation of the role and significance of HTTP protocol status codes. HTTP status code is a three-digit number

How to make the website automatically update every day How to make the website automatically update every day May 17, 2023 am 08:34 AM

I believe that many webmaster friends who have just started a website have this feeling. It is really tiring to update the website every day. If you want to increase the weight of your website, you must make sure that the website is updated every day, and you cannot update several days of articles at once, because in the eyes of search engines, these are still published on the same day and have no impact on the weight of the website. Is there any way to make the website update automatically? Everyone knows the importance of frequent updates to a website. Search engines like fresh content. If your website is not updated for a long time, your ranking will drop, or it will be deleted. Okay, without further ado, let’s introduce the idea of ​​automatic website update. 1. The old website mentioned here not only refers to the website that has been established for a long time. Such a website not only has a certain weight, but also has a certain amount of traffic.

Application guide of DreamWeaver CMS in website development Application guide of DreamWeaver CMS in website development Mar 13, 2024 pm 04:42 PM

DreamWeaver CMS (also known as DedeCMS) is a very popular content management system that is widely used in the field of website development. It provides a wealth of functions and plug-ins to make website development more efficient and convenient. This article will introduce the application guide of DreamWeaver CMS in website development and provide specific code examples to help readers better understand how to use this powerful tool for website development. 1. Basic introduction Dreamweaver CMS is a website content management system developed based on PHP+MySQL. It has the characteristics of fast website building speed, strong ease of use,

See all articles