IP:是网络中唯一标识一台电脑的逻辑标识。
特例:127.0.0.1 localhost
例子:192.168.33.xxx (对应门牌号码,身份证号码)
点分十进制形式,分成四段
范围:0~255.0~255. 0~255. 0~255
DN:Domain Name 域名 例子:www.baidu.com
DNS:Domain Name Server域名服务器 域名服务器(可以理解成一台电脑)
主要作用和就是将我们所输入的www.xx.com域名,转成能够唯一标识www.xx.com服务器的IP。
hosts: 是windows的一个系统文件,其中可以设置ip与域名的关系
文件位置:
流程图(理解):
域名的作用:
对外,供访问
对内,提供域名与目录的对应关系
步骤说明:
http://www.163.com/index.html
第1步:在本机的hosts文件中查找域名与IP的对应关系,
第2步:如果1步中找解析不成功,那么则到本地互联网服务提供商的DNS服务器解析。第3步:向域名对应的ip所指向的Web服务器发送index.html文件请求
第4步:当web服务器收到此文件请求后,会在本机的硬盘中查找index.html文件,并将内容返回的浏览器。
第5步:浏览器收到服务器响应的index.html文件内容后,将其解释成我们常见的页面。

The official account web page update cache, this thing is simple and simple, and it is complicated enough to drink a pot of it. You worked hard to update the official account article, but the user still opened the old version. Who can bear the taste? In this article, let’s take a look at the twists and turns behind this and how to solve this problem gracefully. After reading it, you can easily deal with various caching problems, allowing your users to always experience the freshest content. Let’s talk about the basics first. To put it bluntly, in order to improve access speed, the browser or server stores some static resources (such as pictures, CSS, JS) or page content. Next time you access it, you can directly retrieve it from the cache without having to download it again, and it is naturally fast. But this thing is also a double-edged sword. The new version is online,

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

This article demonstrates efficient PNG border addition to webpages using CSS. It argues that CSS offers superior performance compared to JavaScript or libraries, detailing how to adjust border width, style, and color for subtle or prominent effect

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Linux new version
SublimeText3 Linux latest version

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 English version
Recommended: Win version, supports code prompts!
