In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you what is the foundation of HTML and CSS. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
I. brief introduction
HTML refers to hypertext markup language, which uses tag tags to describe web pages. Tags are made up of angle brackets and keywords, and appear in pairs, for example.
2. A complete html page
Jay Chou
"promise not to cry" words: Fang Wenshan song: Jay Chou sings: Jay Chou / May Day A Xin has no contact. I always listen to others say.
What's wrong with you? I'm the one who can't let go.
When there are a lot of people, I stay in the corner for fear of being asked about me.
The effect is as follows:
III. Introduction of other labels
1. Div and span tags
Div is a block-level element that contains elements that automatically wrap.
Span is an inline element and does not wrap before and after it
What's the matter with you? you keep your head down and protect me. You don't even complain. You don't even have a phone. You never tell me you're not used to living alone.
2. A tag, hyperlink
Href: specify the address to jump to
Target: specify the method to open the new address. By default, the current page opens, and _ blank opens on the new page.
Baidu Search
3 、
Tags, inserting pictures
. /: directory at this level
.. /: parent directory
You can also add a picture on the network directly.
4. CSS style, which is used to render the HTML element tag style
1. Inline style
Span, which unifies the text in all span tags
Span {background-color:#000000; color:#00FF00;} after he left me, he asked me to have a good life, afraid to disturb me and want to be free. At this time, you still care what other people think of me. You desperately explain that it's not my fault. It's you who want to go.
Id selector, which gives an individual name to a style, referenced by id
# TS {background-color:#000000; color:#FF00FF;} after you left me, you asked me to have a good life, afraid to disturb me and want to be free. At this time, you still care what other people think of me, trying to explain that it's not my fault, it's your leaving.
Class selector, which gives an individual name to a style, referenced by class
# TS {background-color:#000000;color:#FF00FF;} .St {background-color:#000000;color:#00FFFF;} after leaving me, you still care what other people think of me, trying to explain that it's not my fault that you're leaving.
2. External citation style
Create a new aiyou.css file with the content
# TS {background-color:#000000;color:#FF00FF;} .ST {background-color:#000000;color:#00FFFF;}
Referenced in the html source code
When you leave me, you still care what other people think of me, trying to explain that it's not my fault, it's your leaving.
What are the basics of HTML and CSS? have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow 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.