HTML basics
HTML Basics - 4 Examples
Don't worry about the examples you haven't learned in this chapter,
You will learn them in the following chapters.
We will first introduce the basic content to everyone, and then show it through an example
HTML title
HTML title (Heading) is passed <h1> - <h6> tags.
HTML paragraph
HTML paragraph is defined by the tag <p>.
HTML Link
HTML link is defined by the tag <a>.
HTML Image
HTML images are defined through the tag <img>.
Let’s write an example below, using all the above knowledge points, so that everyone can have a systematic understanding and coherent learning
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <h1>欢迎学习HTML</h1> <h2>欢迎学习HTML</h2> <h3>欢迎学习HTML</h3> <p>这里是第一段内容</p> <p>这是第二段内容</p> <a href="http://php.cn/">点击学习</a><br/> <img src="/upload/course/000/000/007/57fb2bca70c24537.jpg"> </body> </html>