H5 basic knowledge

As a beginner H5 fortunate here to share with you some small knowledge! Of course, if you want to be a great god-level front-end engineers, requires HTML5, CSS3, Jquery, JavaScript, and other front-end language, but also requires a certain infrastructure, Vue.js, Angular.js, React, Bootstrap, and now start the most basic to learn!

One: Common Editor

Webstom、Dreamweaver、HBuilder、Sublime Text、WebStorm、Intellij IDEA等。

Two: HTML

HTML (English: HyperText Markup Language, referred to as: HTML) is a standard for creating web markup language, not a programming language, but a tag language!

Three: HTML development history

version       years     description
 HTML  1991 The first edition of html
   HTML+ 1993 As the Internet Engineering Task Force (IETF) working draft (not standard)
  HTML2.0 1995 Released as RFC 1866, RFC 2854 after the release in June 2000 was declared obsolete
HTML3.2 1997 As a W3C Recommendation
HTML4.01 1999 (I made minor improvements over the previous version) as a W3C Recommendation
XHTML1.0 2000  Published in 2000, is a W3C Recommendation, later revised re-released in 2002
HTML5 2012  W3C Recommendation
XHTML5 2013  Updated version, based on the draft HTML5

 

Four: HTML example

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>H5初学者</title>
</ head>
 
<body> <h1> My first title </ h1> <the p-> My first paragraph </ the p-> </ body> </ HTML>

Resolution:

***  HTML needs to contain the most basic of five parts: DOCTYPE statement HTML root element head title title head body content

  • <! DOCTYPE html>  declaration for the HTML5 document, represents the next write content for the content of Html5
  • <html>  element is the root element of an HTML page
  • <head>  element contains (Meta) data, <Meta charset = "utf-8"> page encoding format is defined  utf-8
  • <title>  element describes the document title
  • <body>  element contains the visible page content

Such a simple html page can be completed, you can display the contents of the body inside the browser

 

Guess you like

Origin www.cnblogs.com/webdelovely/p/11388318.html