Gordon___From

Untitled

Aug 29th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. 1. Что такое фронт енд.
  2. - клиент серверная коммуникация;
  3. -
  4. 2. Что такое веб страница:
  5. Веб страница состоит из трех слоев:
  6. 1. The three layers
  7. A Web page consists of three layers (and yes, these are the ones that need to be separated fromeach other):
  8. 1. HTML structure.
  9. 2. CSS presentation.
  10. 3. JavaScript behavior.
  11. The HTML structural layer is the most basic part of the page. The HTML tags form the structure of the
  12. page and give meaning to its content. For instance, if a certain text is marked up with an <h1>, it's a
  13. header and should be treated as such. Browsers (or, more generally, user agentsprograms that
  14. interpret HTML) are expected to distinguish this header from the surrounding normal text, for
  15. instance by displaying it in bold and in a larger font, or by pronouncing it louder or slower. Once
  16. you've created structurally correct HTML, you can be reasonably certain that most user agents,
  17. hence most users, will recognize a header as a header.
  18. The purpose of the CSS presentation layer is to define how your HTML should be presented. CSS
  19. allows you to specify colors, fonts, leading, and other typographical elements, as well as the general
  20. layout of the page, for instance, "The navigation block goes next to the content block."
  21. The JavaScript behavior layer adds interactivity to an HTML/CSS page. As soon as you want
  22. something to happen when the user mouses over an HTML element, you need JavaScript to
  23. implement the effect.
  24. Every Web page needs an HTML structural layerwithout HTML, there is no Web page. However, the
  25. CSS and JavaScript layers are optional. Old, obscure, or unusual browsers may not support CSS
  26. and/or JavaScript, in which case one or both layers may go missingthe presentation or behavior
  27. instructions are never executed.
Add Comment
Please, Sign In to add comment