May 29, 2021 Article blog
Many developers are curious about how to turn a text file into a web page. T his operation is extremely simple and easy to get up and and about. A ll you need is a notepad from your computer. Let's put it into practice!
Open your computer notepad and write the following fields in your document.
Save the document as .html format.
Open the file, which appears as a Web page.
Of course, this is only the initial look of the site, we need to add text, pictures and so on. Let's try writing a simple text picture page.
<!DOCTYPE html>
<html lang="en">
<head>
<title>编程狮(w3cschool.cn)</title>
</head>
<body>
<h1>W3Cschool编程狮</h1><!-- h1是一号标题标签 -->
<p>网站主要为初学者提供入门的学习内容和日常技术资料查询服务。</p><!-- p是段落标签 -->
<img src="https://7n.w3cschool.cn/statics/images/logonew2.png" alt="W3Cschool编程狮"><!-- img为图片标签 -->
</body>
</html>
The page looks like this:
That's all you need to do to create a web page with Notepad. For more tutorials go to the W3Cschool website
Recommended courses: HTML, CSS, Getting Started at the front end