0

Hi guys. Are the in html has style attribute ?? And are the style attribute blong to css????

Actually. I Iearning html from other source. Well in my course the teacher has used attribute style. I want to know in despit of after complte the html i will learning css. I can do with out attribute style at present?????

4th Nov 2019, 5:00 PM
Arya Yaminy
Arya Yaminy - avatar
2 Answers
+ 1
Thank you
5th Nov 2019, 2:29 AM
Arya Yaminy
Arya Yaminy - avatar
0
Yes. Style is an attribute of html. It is used inline and uses css properties. Css can be in an external stylesheet, it can be declared inside <style> tags in the <head> of your document or you can use css inline like <p style="color:red;">some text</p> This makes the text red inside the paragraph. But yes, get to grips understanding html syntax and tags first. Then move onto css for styling.
5th Nov 2019, 1:02 AM
Xyenia 🩉
Xyenia 🩉 - avatar