-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Entry html s element #1234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entry html s element #1234
Conversation
SSwiniarski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buono-Marco, I did a first review and left a couple of comments.
| - 'paths/front-end-engineer-career-path' | ||
| --- | ||
|
|
||
| The **`<s>`** element is used to highlight no more pertinent, accurate, or wrong text. Browsers render it showing strikethrough text. Its behavior equals the <del> element but is semantically different. This last is usually used to show document changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The **`<s>`** element is used to highlight no more pertinent, accurate, or wrong text. Browsers render it showing strikethrough text. Its behavior equals the <del> element but is semantically different. This last is usually used to show document changes. | |
| The **`<s>`** element is used to highlight no longer pertinent, inaccurate, or wrong text. Browsers render it showing strikethrough text. Its behavior equals the <del> element but is semantically different, <del> is usually used to show document changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
|
||
| ```html | ||
| <s> | ||
| <!-- Text no more pertinent, accurate, or wrong to here --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <!-- Text no more pertinent, accurate, or wrong to here --> | |
| <!-- No longer pertinent, inaccurate, or wrong text here --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
@Buono-Marco, are you going to do another PR on the |
Yes |
SSwiniarski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buono-Marco Looks good for a second review.
Dusch4593
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buono-Marco Finished with my review and left some comments/suggestions 😄
|
|
||
| ## Syntax | ||
|
|
||
| ```html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ```html | |
| ```pseudo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| </s> | ||
| ``` | ||
|
|
||
| The **`<s>`** element should only contain text content or other elements meant for text content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The **`<s>`** element should only contain text content or other elements meant for text content. | |
| The `<s>` element should only contain text content or other elements meant for text content. | |
| > **Note:** The `<s>` element is semantically different from the `<del>` element because the former is just an edit while the latter conveys an actual update in a document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| - 'paths/front-end-engineer-career-path' | ||
| --- | ||
|
|
||
| The **`<s>`** element is used to highlight no longer pertinent, inaccurate, or wrong text. Browsers render it showing strikethrough text. Its behavior equals the <del> element but is semantically different, <del> is usually used to show document changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The **`<s>`** element is used to highlight no longer pertinent, inaccurate, or wrong text. Browsers render it showing strikethrough text. Its behavior equals the <del> element but is semantically different, <del> is usually used to show document changes. | |
| The **`<s>`** element is used to highlight no longer pertinent, inaccurate, or wrong text. Browsers render it showing strike-through text. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| @@ -0,0 +1,41 @@ | |||
| --- | |||
| Title: '<s>' | |||
| Description: 'Used to draw attention to one or more words, usually rendered in strikethrough text.' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Description: 'Used to draw attention to one or more words, usually rendered in strikethrough text.' | |
| Description: 'Used to draw attention to one or more words, usually rendered in strike-through text.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Dusch4593
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buono-Marco I had a few last comments/suggestions to offer. Could we also rename the image file to something like html-s-element-example.png and replace the old link on line # 47?
| @@ -0,0 +1,47 @@ | |||
| --- | |||
| Title: '<s>' | |||
| Description: 'Used to draw attention to one or more words, usually rendered in strike-through text.' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Description: 'Used to draw attention to one or more words, usually rendered in strike-through text.' | |
| Description: 'Represents strike-through text that is no longer need, accurate, or correct.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Dusch4593,
is line 5 a refuse?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buono-Marco Yes! Sorry for that 😅
| - 'paths/front-end-engineer-career-path' | ||
| --- | ||
|
|
||
| The **`<s>`** element is used to highlight no longer pertinent, inaccurate, or wrong text. Browsers render it showing strike-through text. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The **`<s>`** element is used to highlight no longer pertinent, inaccurate, or wrong text. Browsers render it showing strike-through text. | |
| The **`<s>`** element represents strike-through text that is no longer needed, accurate, or correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
|
||
| The rendered output would look like this: | ||
|
|
||
|  |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|  | |
|  |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
|
||
| The `<s>` element should only contain text content or other elements meant for text content. | ||
|
|
||
| > **Note:** The `<s>` element is semantically different from the `<del>` element because the former is just an edit while the latter conveys an actual update in a document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| > **Note:** The `<s>` element is semantically different from the `<del>` element because the former is just an edit while the latter conveys an actual update in a document. | |
| > **Note:** The `<s>` element is semantically different from the [`<del>`](https://www.codecademy.com/resources/docs/html/elements/del) element because the former is just an edit while the latter conveys an actual update in a document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Dusch4593
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buono-Marco LGTM! 👍🏻
In 3c6893e, I made a small edit to the comment in the "Syntax" section.
|
👋 @Buono-Marco |
|
Congrats and thank you so much for another solid contribution to Codecademy Docs, @Buono-Marco! 🎉 🥳 🎊 The entry should now be live: https://www.codecademy.com/resources/docs/html/elements/s And hooray! It looks like your Codecademy profile is now visible |

Description
Added a new entry about the HTML element
<s>Type of Change
Checklist
mainbranch.