In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article shares with you the content of the sample analysis of web theory and HTML tags. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1. What is web?
Web is one of the most popular applications running on internet. Internet provides us with an environment for web to run. We commonly call it a web page, and the career point is the World wide Web (the World wide Web has the World wide Web Alliance is an organization that is W3C.
The role of web: web can connect various types of information and services and provide a graphical user interface for generation.
How 2.web works
Web is a program based on the pattern of the Bhammer S structure and the pattern of the Cmax S structure. (B:Browser browser C:Client client S:Server server) communicates with the user agent and the Web server.
Web server
Action
①: stores content information on web pages and provides a management environment
② processes requests from browsers and executes server-side programs that can respond.
③ has basic security features
Main products: Tomcat IIS Apache …
Web browser
Action
① proxy user submit request
② as the HTML CSS JS interpreter
③ displays content graphically
Main products:
Microsoft internet Explorer (IE browser)
Google Chrome Google browser
Mozilla fireFox Firefox browser
Opera Openg browser
Apple safari Apple browser
Technologies related to 3.web
① server-side technology: the main operation and server technology operation database
JSP PHP ASP .NET
② client technology: run on the client, and the browser is responsible for interpreting and running
HTML CSS JS
1, what HTML?
① HTML Hypertext markup language
② hypertext: text with special functions
③ tags: tags regulate the composition of hypertext
④ hyperlink pictures, audio and video.
⑤ language: with specific syntax specifications
⑥ HTML is the design language of web pages, files written by HTML
The general suffix is. Html,htm .
Development tools of 2.HTML
① development tools: notepad, super notepad, Hbuilder, etc.
② operating tool: various browsers
The basic syntax of 3.HTML
1, tag syntax
① in HTML, the symbols used to describe functions are called tags, which must be enclosed in the process of use.
The classification of ② markers. Enclose the tagged content of a class
b. The tag of an unclosed class is also known as an empty tag single tag or
2, attributes and values
The ① attribute is used to modify the element (tag)
Example
Run
In the middle of this page.
② Standard Properties
a. Also known as an attribute that all tags on a common properties page will have
Unique identification of b.id page elements
C.class class name
D.style defines the style of an element
The content displayed by moving the mouse over the element
③ comments:
Comments are not interpreted and executed by the browser
Usage:
Note: comments cannot be nested comments only recognize that the beginning and end comments cannot be in the tag
III. HTML document structure
1. First line: type declaration of the document
Purpose: specify the version and type of the document
Indicates that this file is a version of HTML5
Head: the header of the web page: the role defines the global information in the page
Specify the character set of the document
The title of the document
IV. Special characters
1 in html, any number of spaces and carriage returns are finally parsed into a single space
Express the special effect through the special expression of the escape character
① & nbsp; spaces ② & lt
< ③>; >④ & yen; ¥⑤ & copy;?
Thickening
Italic
Underline
Delete Lin
Superscript
Subscript
Function: display text in the form of a title
Mode of expression:
1. Vertical blank distance
two。 Different title font sizes vary in range: 1-6 cannot exceed this range from large to small.
3. Monopolize a line
Function: to represent a separate piece of text on a page
Mode of expression: with vertical white space to occupy one line
Function: line break
Purpose: display lines on the page
Attribute: size of size Dimension
Width: width
Align: horizontal alignment of lines
Color: color
Thank you for reading! On the "web theory and HTML tag example analysis" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.