美文网首页
freecodecamp-HTML5 and CSS3-第一课

freecodecamp-HTML5 and CSS3-第一课

作者: 涂魄 | 来源:发表于2017-03-15 18:59 被阅读0次

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”。

相关文章

  • freecodecamp-HTML5 and CSS3-第一课

    Say Hello to HTML Elements Welcome to Free Code Camp's fi...

  • FreeCodeCamp-HTML5 and CSS3-第二课

    Headine with the h2 Element# Over the next few challenges...

  • css3-变形

    .css3-变形 transform 是css的变形属性,通过变形函数,设置具体的变形方式 scale()变形函数...

  • CSS3-背景

    复合属性 background 复合属性书写顺序不限,没被设置的值认为是默认值,需要做兼容的属性也可以在之后单独设...

  • CSS3-动画

    首先了解浏览器兼容问题 不同浏览器写法不同 当您在 @keyframes 中创建动画时,请把它捆绑到某个选择器,否...

  • CSS3-目录

    1 CSS3 兼容性 2 CSS3 选择器 3 CSS3 新加属性 4 CSS3 过渡动画 5 CSS3 变型 6...

  • css3-动画

    1.@keyframes 规则用于创建动画。在 @keyframes中规定某项 CSS样式,就能创建由当前样式逐渐...

  • CSS3-基础

    1. 结构标记 定义一个区域 定义独立的内容 定义页面内容之外的内容 定义导航链...

  • --- > css3-变形

    transform(变形) CSS3中可以通过transform属性修改元素的变形、旋转、缩放、倾斜特性,在CSS...

  • --- > css3-渐变

    gradient(渐变) 生成渐变颜色的背景图片 CSS3渐变分为linear-gradient(线性渐变)和ra...

网友评论

      本文标题:freecodecamp-HTML5 and CSS3-第一课

      本文链接:https://www.haomeiwen.com/subject/yflrnttx.html