mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-19 04:00:56 -04:00
fix(curriculum): Bad grammar cat photo app 8 (#49969)
* Fixed grammar and formatting * Re-added instructions
This commit is contained in:
@@ -7,7 +7,13 @@ dashedName: step-8
|
||||
|
||||
# --description--
|
||||
|
||||
HTML <dfn>attributes</dfn> are special words used inside the opening tag of an element to control the element's behavior. The `src` attribute in an `img` element specifies the image's URL (where the image is located). An example of an `img` element using an `src` attribute: `<img src="https://www.example.com/the-image.jpg">`.
|
||||
HTML <dfn>attributes</dfn> are special words used inside the opening tag of an element to control the element's behavior. The `src` attribute in an `img` element specifies the image's URL (where the image is located).
|
||||
|
||||
Here is an example of an `img` element with a `src` attribute pointing to the freeCodeCamp logo:
|
||||
|
||||
```html
|
||||
<img src="https://cdn.freecodecamp.org/platform/universal/fcc_secondary.svg">
|
||||
```
|
||||
|
||||
Inside the existing `img` element, add an `src` attribute with this URL:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user