Home >Web Front-end >HTML Tutorial >HTML learning beginning
For the blog I started recently, everything started from scratch. I just wrote the Java chapter yesterday, and today I will write the HTML chapter.
Many beginners don’t pay much attention to front-end learning, and even despise front-end. I was like this when I first started. In fact, if you want to become a real programmer, you must understand both the front-end and the back-end, and then focus on developing in the direction you want to be. Without further ado, no matter what kind of programmer you want to be, you need to learn front-end.
Front-end knowledge schools don’t seem to teach it, anyway, my school doesn’t teach it. Introducing several places to learn HTML. MOOC, w3school, codecadmy.
This time I will briefly introduce the basic structure of HTML.
what is HTML?
HTML stands for Hyper Text Markup Language.
HTML tags are often called HTML tags.
Opening and closing tags are also known as opening tagsand closing tags.
The previous code explains the basic structure of html:
<!DOCTYPE html> <html> <head> <title>Hello</title> </head> <body> hello world </body> </html>
An HTML file must have 8b05045a5be5764f313ed5b9168a17e6. Its function is to tell the browser the file type so that it can be parsed correctly. Here it means that this is an html5 file.
There must be 100db36a723c770d327fc0aef2ce13b173a6ac4ed44ffec12cee46588e518a5e, and the content of the html file is placed in it.
Just like people have heads and bodies, html files also have heads and bodies. The content in 93f0f5c25f18dab9d176bd4f6de5d30e9c3bca370b5104690d9ef395f2c5f8d1 is a description of the html content and is generally not displayed on the web page. For example, b2386ffb911b14667cb8f0f91ea547a76e916e0f7d1e588d4f442bf645aedb2f is the title of the file, which is displayed at the top of the browser window.
6c04bd5ca3fcae76e30b72ad730ca86d36cc49f0c466276486e50c850b7e4956The content is the main content of the html file. You can insert text, pictures, links, etc.
That’s all for today. HTML files are composed of tags, so in the future, I will introduce the usage and attributes of various html tags.