This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:web_development:text:headings [2021/11/22 06:21] mag created |
en:web_development:text:headings [2023/08/16 09:33] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Web Development Lesson 2 - Text ====== | ====== Web Development Lesson 2 - Text ====== | ||
===== Headings ===== | ===== Headings ===== | ||
+ | ==== Objectives ==== | ||
+ | In this exercise you'll learn how to create a heading and some more formatting styles that make a heading pop. | ||
==== Setup ==== | ==== Setup ==== | ||
Line 54: | Line 56: | ||
* Finally, let's add some shadow to the heading. | * Finally, let's add some shadow to the heading. | ||
- | < | + | < |
+ | * Here we are adding a red shadow 2 pixels below and 2 pixels to the right of the original heading. | ||
* See how you can string many style attributes together? | * See how you can string many style attributes together? | ||
* This is handy if you want to change the style of one element, but becomes cumbersome if, for example, you want to change the style of all paragraphs in your letter. For that, we'll use CSS, which we'll cover in Lesson 3. | * This is handy if you want to change the style of one element, but becomes cumbersome if, for example, you want to change the style of all paragraphs in your letter. For that, we'll use CSS, which we'll cover in Lesson 3. |