Current ways to surf the Internet:
Cell phone
Plate
Computer
Mobile: Smartphones, tablets
PC: PC, Notebook
Things to run on the mobile side: Apps
Ios:object-c
Android:java
PC-side things: Desktop applications C + +
The way we surf the Internet is through the browser to open the address to the Internet
The front end is to do web development, but also to do app development, cross-platform
The front end is something that can be seen and touched.
Common systems:
Ios:
Android:
WindowsPhone:
Windows
Mac OS X
Linux
...
------------------------------------------------
Web development at the front end
Web development: Front-end development + background development
Front-end: rendering data
Backstage: Managing Data
HTML: Web page content, Web page structure---structure layer
CSS: Responsible for Web page style---presentation layer
javascript: A scripting language designed to interact with Web pages---behavior layer
HTML: Hypertext Markup Language
Currently the latest version is HTML5, the most widely used is HTML4
------------------------------------------------
How do I edit html?
Edit---> Modify suffix name (extension) with Notepad---> Run in Browser
Browser
Browser kernel: Rendering engine, JavaScript parsing engine
Rendering Engine: Mainly used to render HTML, CSS
JavaScript parsing engine: dedicated to parsing JavaScript
Browser:
Firefox (firefox)---Gecho
IE (Internet Explorer)---Trident
Chrome (google)---Webkit
Safari (apple)---Webkit
Opera (open gate)---presto/blink
HTML Document Structure
<title></title>
<body>
Main Battlefield
</body>
One page contains only a pair of HTML tags, head tags, body tags, title tags
------------------------------------------------
Syntax for HTML
HTML tags (tags)
Single Mark <tag/>
Double marker <tag></tag>
Properties of HTML
<tag Property Name 1 = "Property value 1" Property Name 2 = "Property value 2" .../>
<tag Property Name 1 = "Property value 1" Property Name 2 = "Property value 2" ...>---start tag (label)
Content
</tag>---end tag (label)
< ear width = "250cm" height = "500cm" ></ear >
Considerations for HTML
1 must conform to basic syntax
2 The document type must be defined
<! DOCTYPE html>
Doctype:document type
<body></body>
background= ' picture path '---representing background picture
Pictures:. jpg. png (transparent picture). gif (dynamic graph) ...
Path---
Absolute path: The path relative to the disk, the physical path
Relative path: The location of the file relative to the Web page source file
Sibling relationship: Direct reference file name
Upper-level relationship:. /Picture Name
Next-level Relationship: folder name/Picture name
-------------------------------
A Text Format label
Line Wrapping Labels
<br/>
Special character Labels
< < (left)
> > (right)
Space
" "
© Copyright number
The unit of the computer
Base unit: bytes (B) one character for one byte, one kanji for two bytes
Minimum unit: bit (BITS)
1b=8bit
1KB (Kbytes) =1024b
1MB (MBytes) =1024kb
Title label
Features: font bold, automatic line wrapping
Paragraph labels
<p></p>
Features: Automatic line wrapping
Property:
Align= "Left/right/center", Horizontal alignment
Pre-compiled labels
<pre></pre>
Features: As-is output, automatic line wrapping
Horizontal Split Line Labels
Property:
color= "Color"
Size= "5px/5%" to set the thickness of the horizontal split line
Width= "50px/50%", sets the width of the horizontal split line
Align= "left"/right (right)/center (center), Horizontal alignment
Features: Automatic line wrapping
Two-character format label---No Line break
<b></b>----Text Bold
<i></i>----Text Skew
<u></u>----Underline
<s></s>----Strikethrough
<small></small>---fonts smaller
<font></font>---font labels
Property:
Size=n,n:1----7, progressively bigger, changing font size
color= "Color" to change font color
Face= "Blackbody", set font type, default to Arial
Picture label
Property:
src= "Path", set picture path
Width= "100px" to set the width of the picture
Height= "100px" to set the height of the picture
Title= "Related Tips" to set the text description that appears when hovering over the mouse
alt= "Related Tips"
Web Pre-learning 2016.6.6