1、双击打开HBuilderX工具,在指定文件夹下,新建页面文件pre.html
3、在<body></body>标签中,插入两个div标签,分别设置内容
5、将第二个div标签改为pre标签,然后保存代码