2018-4-25 First acquaintance with html

first day


Simple understanding of the web

route

  • html
  • css
  • js
  • Publish website
  • web operation

html

HTML is a hypertext language, or markup language. To put it bluntly, some symbols are specified, and then these symbols are given meanings. For example, it is stipulated that a is a hyperlink tag, which is used to jump to the specified page or anchor point.
HTML5
is a new version of HTML. Added some new features based on html, css, javascript.

css

It is used to add styles to the generated html, that is, to add some makeup to the plain html to make it more beautiful.

js

Used to add functionality to interact with users on web pages. Just like speaking, there needs to be back and forth. JS is like a language, it is a bridge to achieve back and forth.

Publish website
  • Register an account on github
  • Add a new repository with "username.github.io"
  • Drag an Index.html into the repository
  • Enter "username.github.io" to enter githubPage
web operation
  1. The browser finds the actual address of the server hosting the web page on the DNS server
  2. The browser sends an HTTP request message to the server to request a copy of the web page to the client.
  3. After the server agrees to the client request, it returns a 200 message, which is then transmitted to the browser in the form of data packets.
  4. The browser assembles the packet into a complete web page and presents it to you. (Here http requests and other information transmitted by servers and clients are transmitted by TCP/IP protocol)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324933356&siteId=291194637