FACK1 / OSky

A portfolio about OSky team ( Moutaz-Sama-Hadeel-Fidaa ).
https://fack1.github.io/OSky/
0 stars 2 forks source link

Line 24 (Using <span> in a wrong context) #25

Open orjwan98 opened 5 years ago

orjwan98 commented 5 years ago

https://github.com/FACK1/OSky/blob/8dc86be77235a69c33bf11e99d156dbe7276da55/oSky.html#L24

In this line you are using the tag to nest text instead of using semantic HTML and using the appropriate tag for it. e.g [p] if it's a paragraph, [h2] if it's a sub-heading, [h3] if it's a sub-sub-heading and so on and so forth. Semantic HTML is important for accessibility and SEO since screenreaders and search engines rely heavily on how an html document is structured.

Edited To Add: is usually used to target a certain piece of text in another tag. e.g:

[p]Hello World, How are you today?[/p]

If you only wanna target the word "are" to style it for example, you'd do enclose the word "are" in span tags, give it an id and target it.

Samaamro20 commented 5 years ago

we try to git span an different design , just for a style