Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the tags of the HTML design page

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the HTML design page tags what the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, with a certain reference value, I believe you read this HTML design page tags which articles will have a harvest, let's take a look at it.

HTML is a hypertext markup language hypertext: beyond the text category, more powerful than the text markup language: grammar consists of tags. The core of HTML is that all kinds of tag HTML files are "translated" into recognizable information, that is, the web pages we see now.

Design pages, make web pages

Head tag

The header tag, which is usually written inside the head tag, will not be displayed on the web page.

Function:

1. Specify the title of the site

two。 Specify the keyword of the website / the description information of the specified website

3. Plug-in css/js file

4. Add some content related to browser adaptation

3.2 title tags

Used to specify the title of the website, the title tag must be written in the head tag

Body tag

Used to define the content in a HTML document that needs to be displayed to the user (text / picture / audio / adaptation). There can only be a pair of body tags in a pair of HTML tags.

The extension is html or htmhtml tags are case-insensitive (uniform lowercase is recommended, beautiful and not awkward)

Tags can be nested, and tags can be placed inside them.

The tag usually starts with the start tag and ends with the end tag. If the tag does not embellish the content, it can end in the tag. For example, the br,hr,img tag.

The attribute belongs to the tag, decorating the tag so that the tag has more effect. The attribute is defined in the starting tag, and the attribute generally exists as the attribute = attribute value.

Example: let "HelloWord" display the font color in blue, the font size is 7, and the website title is "Hello, World!"

Analysis of ideas:

Create html create title tag, write tag content: Hello, World! Write the font tag, write the content in the tag as HelloWorld, set the attribute: color to blue, font size to 7.

This is the end of the article on "what are the tags of the HTML design page?" Thank you for reading! I believe you all have a certain understanding of the knowledge of "what are the tags of the HTML design page?" if you want to learn more, 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report