freecodecamp-HTML5 and CSS3-第一课

Say Hello to HTML Elements

Welcome to Free Code Camp's first coding challenge.
欢迎来到FreeCodeCamp的第一个挑战

You can edit code in your text editor , which we've embedded into this web page.
你可以在本页面的文本编辑器中编写代码

Do you see the code in your text editor that says <h1>Hello</h1>? That's an HTML element.
你可以在你的文本编辑器中看到<h1>Hello</h1>么?这就是个HTML元素。

Most HTML elements have an opening tag and a closing tag.
大多数的HTML元素都有开始标签结束标签

Opening tags look like this:
开始标签:
<h1>

Closing tags look like this:
结束标签:
</h1>

Note that the only defference between opening tags and closing tags is that closing tags have a slash after their opening angle bracket.
可以观察到:开始标签和结束标签的唯一区别就是在<前有个/

Each challenge has tests that you can run at any time by clicking the "Run tests" button. Once you gets all tests passing, you can advance to the next challenge.
你可以随时点击“Run tests”按钮来运行代码。当你通过所有测试后,你可以进入下一个挑战。

To pass the tests on this challenge, change you h1 element's text to say "Hello World" instead of "Hello". Then click the "Run tests" button.
通过测试的方法:将h1元素的“Hello”更改为“Hello World”。然后点击“Run tests”。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,501评论 0 23
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 136,084评论 19 139
  • 1、样式表书写位置 ◆内嵌式写法 ◆外链式写法 ◆行内样式表 ◆三种写法特点:★内嵌式写法,样式只作用于当前文件,...
    嗨黄先生阅读 1,549评论 0 0
  • 时隔多年没写东西,开头不知从何说起。大家在接待顾客时内心是不是很纠结,纠结这个顾客会不会买,纠结这个顾客会买几件...
    烟台保利曹英楠阅读 1,387评论 3 0

友情链接更多精彩内容