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?????
2 Answers
+ 1
Thank you
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.