Detailed explanation of the use of HTML header tags

Detailed explanation of the use of HTML header tags

HTML consists of two parts: head and body

** The tag in the head is the head tag

** Title tag: indicates the content displayed on the label

** meta tag: set some relevant content of the page (rarely used)

<meta name="keywords" content="熊貓,金絲猴,恐龍"/>

<meta http-equiv="refresh" content="3;url=01-hello.html"/>

** base tag: set the basic settings of the hyperlink

- You can set the opening method of hyperlinks uniformly

<base target="_blank"/>

** link tag: import external files

** Used in css, you can use the link tag to introduce the css file

Full code:

<html>
    <head>
        <title>World</title>
        <meta name="keywords" content="Panda, golden monkey, dinosaur"/>
        <!--<meta http-equiv="refresh" content="3;url=01-hello.html"/>-->
        <base target="_blank"/>
    </head>
    <body>
        <h3>Header Tag</h3>
        <a href="01-hello.html">Hyperlink 1</a>
        <a href="01-hello.html">Hyperlink 2</a>
        <a href="01-hello.html">Hyperlink 3</a>
    </body>
</html>

Summarize

The above is the use of HTML header tags introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

<<:  Detailed explanation of how to use Vue+element to implement the tag at the top of the page

>>:  Summary of CSS front-end knowledge points (must read)

Recommend

A Preliminary Study on Vue Unit Testing

Table of contents Preface Why introduce unit test...

CSS selects the first child element under the parent element (:first-child)

Preface I recently used :first-child in a project...

Basic JSON Operation Guide in MySQL 5.7

Preface Because of project needs, the storage fie...

JavaScript implements AI tic-tac-toe game through the maximum and minimum algorithm

Without further ado, let’s run the screenshot dir...

How to use CocosCreator for sound processing in game development

Table of contents 1. Basics of audio playback in ...

Solution to interface deformation when setting frameset height

Currently I have made a project, the interface is ...

Introduction to SSL certificate installation and deployment steps under Nginx

Table of contents Problem description: Installati...

MySQL 8.0.19 Installation Tutorial

Download the installation package from the offici...

How to encapsulate query components based on element-ui step by step

Table of contents Function Basic query functions ...

Docker Compose installation methods in different environments

1. Online installation Currently only tried the L...

Steps to set up and mount shared folders on Windows host and Docker container

Programs in Docker containers often need to acces...