Introduction to HTML_PowerNode Java Academy

Introduction to HTML_PowerNode Java Academy

What is HTML?

HTML is a language used to describe web pages. HTML refers to Hyper Text Markup Language, which is a markup language. A markup language is a set of markup tags. HTML uses markup tags to describe web pages.

What is hypertext?

The real power of markup languages ​​lies in their ability to collect documents, combine them into a complete repository, and link the repository with other document collections in the world. In this way, readers can not only fully control the display of the document on the screen, but also control the order in which they browse information through hyperlinks. That's the "HT" in HTML and XHTML - hypertext, and it's what holds the entire Web together.

What is a hyperlink?

A hyperlink, or anchor as it is called in the standard, is marked with the <a> tag and can be expressed in two ways.
One type of anchor creates a hotspot in the document that, when activated or selected (usually with a mouse) by the user, causes the browser to follow the link. The browser automatically loads and displays a portion of the same or other documents, or triggers certain actions related to Internet services, such as sending an e-mail or downloading a special file.

Another type of anchor creates a marker in the document that can be referenced by a hyperlink.
Both types of anchors use the same label; perhaps that's why they have the same name. But we find it easier to understand the two types of anchors if you distinguish them and think of the anchors that provide hotspots and hyperlink addresses as "links" and the anchors that mark the target part of the document as "anchors".

What are HTML tags?

HTML markup tags are often referred to as HTML tags. HTML tags are keywords enclosed in angle brackets, such as <html>. HTML tags usually appear in pairs, such as <b> and </b>. The first tag in the tag pair is the start tag and the second tag is the end tag. The start and end tags are also called opening and closing tags.

What is an HTML document?

An HTML document contains HTML tags and plain text. An HTML document is also called a web page.
The role of a web browser is to read HTML documents and display them in the form of web pages. Browsers do not display HTML tags; instead, they use the tags to interpret the content of the page.

.htm or .html file extension?

When you save an HTML file, you can use either the .htm or .html file extension. Because many software in the past (such as DOS) only allowed three-letter file extensions, today there is no problem using .html.

Features of HTML:

HTML is a loose language that is not case sensitive. Although double tags are required to appear in pairs, it will not report an error if they do not appear in a pair; it will not report an error if a single tag is not closed; it will not report an error if single quotes, double quotes, or no quotes are used in attributes. But in order to be more standardized, we generally strictly enforce the following rules:

  • Double tags appear in pairs (<font>123</font>)
  • Single tags must be closed (<img src="/image/bj.jpg" />)
  • Tag names and attribute names should be lowercase
  • The code hierarchy is clear, with indentation, line breaks, and blank lines

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

<<:  Docker deployment nginx implementation process graphic and text detailed explanation

>>:  MySQL 8.0.22 installation and configuration method graphic tutorial under Windows 10

Recommend

Vant+postcss-pxtorem implements browser adaptation function

Rem layout adaptation The styles in Vant use px a...

Use href in html to pop up a file download dialog box when clicking a link

I learned a new trick today. I didn’t know it befo...

How to implement logic reuse with Vue3 composition API

Composition API implements logic reuse steps: Ext...

css3 animation ball rolling js control animation pause

CSS3 can create animations, which can replace man...

js implements single click to modify the table

Pure js implements a single-click editable table ...

IIS 7.5 uses URL Rewrite module to achieve web page redirection

We all know that Apache can easily set rewrites f...

HTML+CSS to achieve cyberpunk style button

First look at the effect: Preface: I came up with...

Summary of MySQL development standards and usage skills

1. Naming conventions 1. Database names, table na...

Ubuntu 20.04 CUDA & cuDNN Installation Method (Graphical Tutorial)

CUDA installation download cuda Enter the nvidia-...

The most comprehensive collection of front-end interview questions

HTML+CSS 1. Understanding and knowledge of WEB st...

Detailed explanation of the new array methods in JavaScript es6

Table of contents 1. forEach() 2. arr.filter() 3....

MySQL 8.0.24 version installation and configuration method graphic tutorial

This article records the installation and configu...

Example of using Dockerfile to build an nginx image

Introduction to Dockerfile Docker can automatical...