作者:爱这奋斗 | 来源:互联网 | 2023-01-30 17:23
我为无知而道歉,但是我很难确定何时改变我在H1-H6之间的标题.我正在尝试在codeacemy.com上自学代码,我的理解是为每个标题更改标题,例如:
Introduction
This is the intro
Body
This is the body
Conclusion
This is the conclusion
代码学院希望我多次使用相同的标题(如下所示)是对还是错?我什么时候开始使用不同的标题?请帮助我澄清一下,这样我可以更高效地了解我编写代码的使命.
Code Academy ex:
Ethiopia
Ethiopian beans can be divided into 3 categories: Longberry, Shortberry, and Mocha. Longberry varieties consist of the largest beans and are often considered of the highest quality in both value and flavor. Shortberry varieties are smaller. The Mocha variety is a highly prized commodity. Mocha Harars are known for their peaberry beans that often have complex chocolate, spice and citrus notes.
Learn More about Ethiopia
Costa Rica
Costa Rican coffee beans are considered among the best in the world. Tarrazu is thought to produce the most desirable coffee beans in Costa Rica. In 2012, Tarrazu Geisha coffee became the most expensive coffee sold by Starbucks in 48 of their stores in the United States, using the Clover automated French press. The finest coffee is typically grown at altitudes of 1200 to 1700 meters.
Learn More about Costa Rica
Kenya
The acidic soil in highlands of central Kenya, just the right amount of sunlight and rainfall provide excellent conditions for growing coffee plants. Coffee from Kenya is of the 'Colombia mild' type, and is well known for its intense flavor, full body, and pleasant aroma with notes of cocoa and high grade coffee from Kenya is one of the most sought-after coffees in the world.
小智..
5
h1通常用于页面的主标题.这表明该文本比其他文本更重要.h2或h3可用于表示不太重要的文本的子标题.这直到h6.
在您的示例中,所有国家/地区都在h2标记中,这表示它们在页面的语义中同样重要.
1> 小智..:
h1通常用于页面的主标题.这表明该文本比其他文本更重要.h2或h3可用于表示不太重要的文本的子标题.这直到h6.
在您的示例中,所有国家/地区都在h2标记中,这表示它们在页面的语义中同样重要.