Basic Knowledge of HTML

Introduction

As a beginner in HTML, I have learned some new codes. This article summarizes the basic knowledge of HTML.

Summarizing the basic HTML codes is an important step in mastering the fundamentals of learning.

1 Problem

The basic knowledge of HTML.

2 Methods

<h1></h1> is used to represent a title

<p></p> is used to represent a paragraph

<a href=””></a> is used to introduce a hyperlink

<img src=””> is used to insert a specified image

<strong></strong> is used to bold text

<style=”color: ;”> is used to change the font color

<align=”center”> is used to center align

3 Experimental Results and Discussion

Code Listing 1

<!DOCTYPE html><html><head><meta charset="utf-8" /><title></title></head><body><h1 align="center"><strong>Luo Haoyu</strong></h1><p style="color: aqua;">Baidu</p><a href="https://www.baidu.com/?tn=98012088_5_dg&ch=12">This is a hyperlink</a></body></html>

4 Conclusion

Summarizing the basic knowledge of HTML helps to consolidate the foundation, deepen the impression, and is beneficial for future learning and application.

Source: Deep Learning and Cultural Tourism Application Laboratory (DLETA)

Author: Luo Haoyu

Intern Editor: Heng Hui

Leave a Comment