大三已经快要结束的时候才意识到自己真的一点东西都没有学到,然后就决定要在大四结束前能学多少是多少,自己要尽力。之所以要开博客是因为自己总是坚持不了,要给自己一个坚持下去的动力所以开始了。慢慢的一步一步来,不着急。
HTML超文本标记语言(Hyper Text Markup Language)是用来描述网页的一种语言。HTML不是一种编程语言,而是一种标记语言(markup language)。
标记语言是一整套标签(Markup tag),HTML使用标记标签来描述网页。如:
HTML标签通常成对出现,如:*********,分别为开始标签和结束标签。
也有单独出现的标签,如:
,作用是在页面上绘制水平线。
HTML语言经浏览器解释后表现为网页,每个网页都有其对应的HTML文件。查看HTML文件方式:右键单击网页空白处,选择查看网页源代码。
第一个HTML示例(在记事本中编辑如下代码,将文件另存为后缀名为html或者htm的文件):
<html><body><h1 id="第一个示例-永远的hello-world">第一个示例:永远的hello world!</h1></body></html>
双击运行打开,结果:
下面是一些常用的标签使用示例
标题
这是最大标题
水平线
用于创建水平线,分割内容。为空白标签
注释
段落
段落文本
换行
空白标签
空格
两个及以上连续的空格被显示为一个空格

A consistent HTML encoding style is important because it improves the readability, maintainability and efficiency of the code. 1) Use lowercase tags and attributes, 2) Keep consistent indentation, 3) Select and stick to single or double quotes, 4) Avoid mixing different styles in projects, 5) Use automation tools such as Prettier or ESLint to ensure consistency in styles.

Solution to implement multi-project carousel in Bootstrap4 Implementing multi-project carousel in Bootstrap4 is not an easy task. Although Bootstrap...

How to achieve the effect of mouse scrolling event penetration? When we browse the web, we often encounter some special interaction designs. For example, on deepseek official website, �...

The default playback control style of HTML video cannot be modified directly through CSS. 1. Create custom controls using JavaScript. 2. Beautify these controls through CSS. 3. Consider compatibility, user experience and performance, using libraries such as Video.js or Plyr can simplify the process.

Potential problems with using native select on mobile phones When developing mobile applications, we often encounter the need for selecting boxes. Normally, developers...

What are the disadvantages of using native select on your phone? When developing applications on mobile devices, it is very important to choose the right UI components. Many developers...

Use Three.js and Octree to optimize collision handling of third-person roaming in the room. Use Octree in Three.js to implement third-person roaming in the room and add collisions...

Issues with native select on mobile phones When developing applications on mobile devices, we often encounter scenarios where users need to make choices. Although native sel...


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download
The most popular open source editor

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 English version
Recommended: Win version, supports code prompts!
