把html设置为桌面项目_如何设置HTML项目

news/2024/7/4 10:06:26

把html设置为桌面项目

How To Build a Website With HTML 如何使用HTML构建网站

This tutorial series will guide you through creating and further customizing this website using HTML, the standard markup language used to display documents in a web browser. No prior coding experience is necessary but we recommend you start at the beginning of the series if you wish to recreate the demonstration website.

本教程系列将指导您使用HTML(用于在Web浏览器中显示文档的标准标记语言)创建和进一步自定义此网站 。 不需要任何编码经验,但是如果您希望重新创建演示网站,建议您从本系列的开头开始 。

At the end of this series, you should have a website ready to deploy to the cloud and a basic familiarity with HTML. Knowing how to write HTML will provide a strong foundation for learning additional front-end web development skills, such as CSS and JavaScript.

在本系列的最后,您应该拥有一个可以部署到云的网站,并且对HTML有了基本的了解。 知道如何编写HTML将为学习其他前端Web开发技能(例如CSS和JavaScript)奠定坚实的基础。

To explore HTML in practice and begin building an HTML website, we’ll need to set up a new project using a text editor. This tutorial series uses Visual Studio Code, a free code editor available for Mac, Windows, or Linux, but you may use whichever code editor you prefer.

为了在实践中探索HTML并开始构建HTML网站,我们需要使用文本编辑器设置一个新项目。 本教程系列使用Visual Studio Code (可用于Mac,Windows或Linux的免费代码编辑器),但是您可以使用任何喜欢的代码编辑器。

After opening your preferred text editor, open up a new project folder and name it html-practice. We’ll use this folder to store all the files and folders we create in the course of this tutorial series.

打开首选的文本编辑器后,打开一个新的项目文件夹,并将其命名为html-practice 。 我们将使用此文件夹存储在本系列教程中创建的所有文件和文件夹。

To create a new project folder in Visual Studio Code, navigate to the “File” menu item in the top menu and select “Add Folder to Workspace.” In the new window, click the “New Folder” button and create a new folder called html-practice as illustrated in the gif below:

要在Visual Studio Code中创建新的项目文件夹,请导航到顶部菜单中的“文件”菜单项,然后选择“将文件夹添加到工作区”。 在新窗口中,单击“新建文件夹”按钮,然后创建一个名为html-practice的新文件夹,如下gif所示:

Next, create a new file called index.html inside the html-practice folder. We’ll use this file through the tutorial series to experiment with HTML. If you are using Visual Studio Code, you can create a new file by using Right Click(on Windows) or CTRL + Left Click (on Mac) on the html-practice folder, selecting “New File”, and creating the file index.html as illustrated in the gif below:

接下来,在html-practice文件夹中创建一个名为index.html的新文件。 在整个教程系列中,我们将使用此文件来尝试HTML。 如果使用的是Visual Studio Code,则可以通过使用html-practice文件夹上的Right Click (在Windows上)或CTRL + Left Click (在Mac上),选择“新建文件”并创建文件index.html创建新文件index.html如下gif中所示的index.html

You now have a project folder and file for exploring HTML. We’ll return to this file in the tutorials ahead.

现在,您有了用于浏览HTML的项目文件夹和文件。 我们将在前面的教程中返回此文件。

关于调试HTML的快速说明 (A Quick Note on Debugging HTML)

Before we get started with our HTML exercises, be aware that precision is important when writing HTML. Even an extra space or mistyped character can keep your code from working as expected.

在开始HTML练习之前,请注意,编写HTML时,精度很重要。 甚至多余的空格或键入错误的字符也可能会使您的代码无法按预期工作。

If your HTML code is not rendering in the browser as intended, make sure you have written the code exactly. To troubleshoot errors, check for extra or missing spaces, missing or misspelled tags, and missing or incorrect punctuation or characters. Each time you change your code, make sure to save your file before reloading it in the browser to check your results.

如果您HTML代码未按预期在浏览器中呈现,请确保已正确编写了代码。 要解决错误,请检查是否有多余或缺失的空格,标记是否缺失或拼写错误以及标点符号或字符是否缺失或不正确。 每次更改代码时,请确保保存文件,然后再将其重新加载到浏览器中以检查结果。

翻译自: https://www.digitalocean.com/community/tutorials/how-to-set-up-your-html-project

把html设置为桌面项目


http://www.niftyadmin.cn/n/3647812.html

相关文章

redis 数据库管理工具_如何管理Redis数据库电子书

redis 数据库管理工具Download the Complete eBook!下载完整的电子书! How To Manage a Redis Database eBook in EPUB format 如何以 EPUB格式 管理Redis数据库电子书 How To Manage a Redis Database eBook in PDF format 如何管理 PDF格式 的Redis数据库电子书 …

html中p元素添加超链接_如何在HTML中添加超链接

html中p元素添加超链接How To Build a Website With HTML 如何使用HTML构建网站This tutorial series will guide you through creating and further customizing this website using HTML, the standard markup language used to display documents in a web browser. No prio…

多线程的资源管理器

正在设计中.比较郁闷.设计要求: 1. 基于template. 多线程的功能为类的一个策略。 2. 管理器应该有能力知道当前的资源处于什么状态RS_LOADING RS_FAILED RS_NOTLOAD, RS_LOADED. 3. 加载线程应该为一个工作线程池。并非每一个资源管理器都使用一个thread. 4. 每个资源能支持…

angular 参数映射_如何在Angular中使用查询参数

angular 参数映射介绍 (Introduction) Query parameters in Angular allow for passing optional parameters across any route in the application. Query parameters are different from regular route parameters, which are only available on one route and are not optio…

html 属性中使用变量_如何使用HTML属性

html 属性中使用变量How To Build a Website With HTML 如何使用HTML构建网站This tutorial series will guide you through creating and further customizing this website using HTML, the standard markup language used to display documents in a web browser. No prior …

CamGameSDK 摄像头游戏SDK提供测试版本。欢迎使用

目前CamGameSDK已经能完成类似CamGoo这个游戏中用到的摄像头图象识别技术。(不知道什么是摄像头游戏的,请下载CamGoo这个游戏)。现在整理出SDK一个。提供大家注册使用。如果有需要请与我联系。申请者填写如下表格一张发到我邮箱:xheartblue16…

如何嵌套HTML元素

How To Build a Website With HTML 如何使用HTML构建网站This tutorial series will guide you through creating and further customizing this website using HTML, the standard markup language used to display documents in a web browser. No prior coding experience i…

高效率视频播放: GPU支持的YUV RGB 转化例子(2)

最近一直在做视频的播放。尤其是HD的视频,即使是1024 x 576的视频播放在CPU消耗上是一个巨大的压力。更大的还有1920 x 1080的。在CPU的消耗上简直就是一个恶梦。 最近用DSHOW做了一个Demo。一般Dshow的例子里都是直接用VMR把视频播放出去。对于游戏开发人员跟视…