You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md
+2-15Lines changed: 2 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,9 @@ demoType: onLoad
8
8
9
9
# --description--
10
10
11
-
HTML elements have an opening and closing tag with content in between.
11
+
HTML elements have opening tags like `<h1>`and closing tags like `</h1>`. The text an element will display goes between its opening and closing tags.
12
12
13
-
Here is the basic syntax:
14
-
15
-
```html
16
-
<openingTag>content</closingTag>
17
-
```
18
-
19
-
The first element you will learn about is the `h1` element. The `h1` element is a heading element and is used for the main heading of a webpage.
20
-
21
-
```html
22
-
<h1>This is a main heading</h1>
23
-
```
24
-
25
-
Change the text of the `h1` element below from `Hello World` to `CatPhotoApp` and watch
26
-
the change in the browser preview.
13
+
Change the text of the `h1` element below from `Hello World` to `CatPhotoApp` and watch the change in the browser preview.
27
14
28
15
When you are done, press the "Check Your Code" button to see if it's correct.
0 commit comments