Menu
CoddyTech

步骤

本课属于 Coddy HTML 学习旅程的“基础知识”单元。第 19 课,共 60 课。

challenge icon

挑战

简单

保留你在前面步骤中写的所有内容:标题、描述、Ingredients: 标题及其列表都要保留在页面上。

添加一个标题(h2),文本为 Steps:,必须完全照此书写。

在有序列表(ol)中添加步骤列表:

  1. Preheat the oven to 350°F (175°C).
  2. Mix the butter and sugar together in a bowl.
  3. Add the flour and chocolate chips, and mix well.
  4. Scoop the dough onto a baking sheet.
  5. Bake for 10-12 minutes or until golden brown.

亲手试试

<!DOCTYPE html>
<html>
    <body>
        <h1>Chocolate Chip Cookies</h1>
        <p>This is a simple recipe for making delicious chocolate chip cookies at home.</p>
        
        <h2>Ingredients:</h2>
        <ul>
            <li>1 cup of butter</li>
            <li>1 cup of sugar</li>
            <li>2 cups of flour</li>
            <li>1 cup of chocolate chips</li>
        </ul>
    </body>
</html>

基础知识中的所有课

自己练习: Web 在线编辑器