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 is about how HTML sets color values and Web safe colors. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
HTML paragraph
You can divide an HTML document into several paragraphs, which are created through the
Defined by the label.
Example
This is a paragraph
This is another paragraph
Comments: the browser automatically adds blank lines before and after the paragraph. (
Is a block-level element)
Tip: use empty paragraph marks
It's a bad habit to insert a blank line. Replace it with a label!
Don't forget the closing tag.
Even if you forget to use the closing tag, most browsers will display the HTML correctly, but don't rely on this.
Example
This is a paragraph
This is another paragraph
Note: the closing tag is not allowed to be omitted in future versions of HTML. Forgetting to use the closing tag can produce unexpected results and errors.
Tip: clearly marking where an element begins and ends makes the code easier to understand, both for you and for the browser.
HTML wrapping
If you want to wrap (a new line) without generating a new paragraph, use the tag.
Element is an empty HTML element. Because closing the tag does not make any sense, it does not end the tag.
Example
This isa paragraph with line breaks
HTML output-useful hint
We are not sure exactly how HTML is displayed. The size of the screen and the adjustment of the window can lead to different results.
With HTML, you cannot change the effect of the output by adding extra spaces or line breaks to the HTML code.
When the page is displayed, the browser removes excess spaces and blank lines from the source code. All consecutive spaces or blank lines are counted as a space.
It is important to note that all consecutive blank lines (newlines) in the HTML code are also displayed as a space.
HTML tag and description
Define a paragraph.
Insert a single line break (line wrap).
Thank you for reading! This is the end of this article on "how to set color values for HTML and Web safe colors". 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 for more people to see!
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.