Right order with attributes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Right order with attributes

Is it necessary to build the function always in order of: source, look, size, position, object? Does it makes any differences when putting them into a different order?

15th Feb 2017, 5:44 PM
Tom Krebs
Tom Krebs - avatar
4 Answers
+ 1
the attributes in HTML are not like the parameters of a function they are tags who take values like parameters. but the tags don't have an order
15th Feb 2017, 6:15 PM
Christophe Nadeau
Christophe Nadeau - avatar
+ 1
As you have study other programming languages, think to the html tags attributes, as an unordered key-value list ;)
15th Feb 2017, 6:37 PM
visph
visph - avatar
0
It change nothing for the HTML attributes but in CSS the order is important sometimes ;)
15th Feb 2017, 5:52 PM
Christophe Nadeau
Christophe Nadeau - avatar
0
I like to learn html, css, java script, php and sql to get to know all I need to build up a strong web page and so on. I already started with ansi c, MODCOM, basic a bit of visual basic years before. There I've learned that the right order is always important. So that's why I'm asking this question about html.
15th Feb 2017, 6:04 PM
Tom Krebs
Tom Krebs - avatar