sidrag3045 / CSS-Project

Contains the additional app.css file to the previous HTML Project which contains all the selectors to style the html elements.
0 stars 0 forks source link

Use css for centering #1

Open SakshiShreya opened 1 month ago

SakshiShreya commented 1 month ago

Now that you are using CSS for styling, you should not use tags like <center>, <b>, <i>, <font> etc. because they were used for giving styles when CSS was not there. These are deprecated not and don't hold any value.

Ref: https://www.w3schools.com/tags/tag_center.ASP

https://github.com/sidrag3045/CSS-Project/blob/35c363d929f9186a35eaf18e2c8647b7f66ea5f4/index.html#L60

sidrag3045 commented 1 month ago

also this piece of code was something that i wanted to replace with scrollable images but it was hard to implement yet so didnt touch this section of code when i was making changes to the last piece of code