![]() The second one appears to be just a straight html attribute. I was under the impression that using inline css will-nilly was generally not considered best practice and I assume it’s being used in the lessons mainly because it is an easy way to teach about attributes and the css best practices will probably be covered later on in the actual css lessons. I know the first example is using inline css (as is anything that uses the “style” attribute. ![]() I am wondering if one is considered best practice or if there are good reasons to use one over the other or if there are different scenarios when one should be used vs the other. I know of three different methods to align text in html.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |