mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-07-13 21:15:35 +08:00
fix(curriculum): grammar fixes in lectures (#63206)
Co-authored-by: Sachin Manimekalai Balakrishnan <>
This commit is contained in:
parent
9b39665c97
commit
7242d97376
@ -9,7 +9,7 @@ dashedName: when-should-you-use-the-emphasis-element-over-the-idiomatic-text-ele
|
||||
|
||||
These elements are very closely related to the concepts of presentational and semantic HTML. The idiomatic text element, `i`, was originally used for presentational purposes to display the text in italics. But now, it is frequently used for highlighting alternative voice or mood, idiomatic terms from another language, technical terms, and thoughts.
|
||||
|
||||
Here is example from the official HTML spec, using the `i` element to show an idiomatic phrase in French.
|
||||
Here is an example from the official HTML spec, using the `i` element to show an idiomatic phrase in French.
|
||||
|
||||
:::interactive_editor
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ Common use cases for the superscript element would include exponents, superior l
|
||||
|
||||
Superior lettering refers to letters written in superscript, usually to indicate abbreviations. The letters `g` and `r` are wrapped inside superscript tags to illustrate the abbreviation in this example.
|
||||
|
||||
It is important to note that the superscript element should only be used for typographical reasons. If you want style a piece of text with a raised baseline, then you should use CSS instead of the superscript element.
|
||||
It is important to note that the superscript element should only be used for typographical reasons. If you want to style a piece of text with a raised baseline, then you should use CSS instead of the superscript element.
|
||||
|
||||
To represent chemical equations inside HTML, you would use the subscript element. This element uses a subscript which displays a lowered baseline using smaller text.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user