In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the commonly used HTML format, font tags, connection method is what the relevant knowledge, detailed and easy to understand, simple and fast operation, with a certain reference value, I believe that everyone reading this commonly used HTML format, font tags, connection method is what the article will gain, let's take a look at it.
HTML (hypertext markup language): A simple markup language used to create hypertext documents. Used to describe the formatting of a Web page (defining a title, text, or table on the Web page, etc.) and its links to other pages on the World Wide Web.
Divided into static pages and dynamic pages
(1) Static web pages: web pages in pure HTML format, which can only be browsed and cannot interact with websites. In static web pages, the main structure of the entire web page and the display control of the web page must be implemented using html. Static page extensions are generally asked. htm、。html、。shtml、。xml。
Static web page execution process:
The browser sends a request to the server in the network, pointing to a static web page. After receiving the request, the server transmits the text file to the browser. After receiving the file from the server, the browser parses the HTML tag and displays the result.
(2) Dynamic web pages: The content of web pages can automatically change according to changes in certain conditions. Web pages with dynamic technology. Dynamic web pages have the extension. asp、。jsp、。php、。perl、。cgi, etc., and has a signature symbol in the dynamic web address "? "
HTML Symbols used to describe functionality. Marks must be enclosed in angle brackets when used. The browser interprets the tags inside the angle brackets. The main tags commonly used in html are,, and.
The markers are divided into single markers and double markers:
(1) Single tag: Just enter the tag name in angle brackets. A single tag indicates a function, and there is no range.
Format:
For example, newline marks:
(2) Double mark: mark has a head and a tail, the front mark is consistent with the back mark, and the back mark has a slash.
Format: Content
such as paragraph marks;
?
It contains the head and the inner body.
(1) Table layout technology: Table layout is more common in the past, that is, all kinds of required amount layout text, image materials, etc. into a borderless table, the advantage is not to worry about the influence between different objects, the disadvantage is to reduce the download speed of web pages.
(2) CSS (Cascading Style Sheet) technology: also known as DIV+CSS layout technology, can accurately locate text and images, separate data and format, and greatly reduce the amount of data on web pages.
Format: Subject Text
#is the title size 1-6, the larger the number, the smaller the font size.
(1) Paragraph marking
Format:
Here is the paragraph
There will be a line between paragraphs
(2) Spaces in paragraphs
Format: " "
(3) Forced newline
Format:
Format:
Bold Format: Bold, shown here in bold
Italic Format: Italic, shown here is Italic
Underline: Underline
strikethrough: strikethrough
superscript: superscript
subscript: subscript
Format: Text to be placed
Keyword size is used to indicate size, from 1-7 any number, the larger the number, the larger the font.
Format: Text to be placed
color can be followed by the word color, can also be followed by RGB color values, such as color="#cccccc";i
Physical font:
Logical font:
(1) New line control
Pay attention to the line
and forced line breaks
the difference between
There will be a blank line in the middle,
Not a single empty line.
Examples:
Test effect:
(2) No new line control
Format: Add Text
The text in the tag does not wrap and continues to be displayed in one line on the page.
Syntax: align="#"
#can be left, right, center.
align
and so on.
If text is aligned right:
cener can be centered without the align keyword
Lists are divided into ordered lists and unordered lists. An ordered list is preceded by a numbered number; an unordered list is preceded by a circle.
(1) Unordered list
Grammar:
(2) Ordered list
(1) Set text scrolling
Default Format: Add Text
Scroll right to left by default.
(2) Set text scroll direction
The direction attribute sets the scrolling direction of the content. The attribute values are left, right, up, and down.
add text
(3) Set the speed and form of text scrolling
(1) Insert images into web pages
Format:
(2) Prompt information when the image cannot be displayed
Format:
(3) Control the size of the image
Format:
Format:
#Set attributes for aligning pictures with text, optional top right button left middle
#is border pixel size
About "commonly used HTML format, font tags, connection method is what" the content of this article is introduced here, thank you for reading! I believe that everyone has a certain understanding of the knowledge of "commonly used HTML formats, font tags, and connection methods." If you still want to learn more knowledge, please pay attention to the industry information channel.
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.