---restore content starts---
HTMLfirst, the introduction of HTML1. What is HTML?
Hypertext Markup Language:
Hypertext: More powerful than normal text
Markup Language: A language that describes content using a set of tags, which is not a programming language!
2. How is HTML used?
All HTML file suffix names end in. html or. htm, and are recommended for. HTML endings
The entire HTML file consists of a header and a body part. <body></body>
HTML tags are made up of start tags and end tags ( <br /> )
HTML tags ignore case, recommended lowercase
3. HTML-related tag learning
- Title label
Title Tags are used
Features: Bold and black display, a single row, and other lines have a certain line spacing.
- Comments:
<!--标题标签-->
- Horizontal line:
- Paragraph Tags: <p></p>
- Font labels
<font></font>
<!DOCTYPE HTML><HTML> <Head> <MetaCharSet= "UTF-8"> <title></title> </Head> <Body> <!--1. Create a title label - <H2>Company Profile</H2> <!--2. Create a horizontal line label - <HR/> <!--3. Create a paragraph label, respectively - <P><FontColor= "Red">For example, when we visit Sina in a browser,</Font>Our own computer is the client, the browser will be active to Sina's server to initiate the connection. If all goes well, Sina's server accepts our connection, a TCP connection is built up, and the subsequent communication is to send the Web content.</P> <P>As a server, the port number must be fixed to provide what kind of service. Since we want to access the Web page, the server that Sina provides Web services must pin the port number to port 80 because port 80 is the standard port for the Web service. Other services have a corresponding standard port number, such as the SMTP service is port 25, the FTP service is 21 ports, and so on. Port number less than 1024 is the Internet standard service ports, the port number is greater than 1024, can be used arbitrarily.</P> <P><Fontsize= "5" Face= "Italic"><b>Urllib</b></Font>The function is to use the program to perform a variety of<I>HTTP request</I>。 If you want to simulate a browser to complete a specific function, you need to disguise the request as a browser. The camouflage method is to first monitor the browser's request, and then according to the browser's request header to disguise, User-agent header is used to identify the browser.</P> <P>Command virtualenv can create a standalone Python runtime environment, we also add parameter--no-site-packages so that all third-party packages that have been installed into the system Python environment will not replicate, so that We get a "clean" python run environment without any third-party packages.</P> </Body></HTML>
---restore content ends---
Getting Started with HTML (i)