multiple elements can have same class barcode -> item name and price Nike Air -> all the Nike air will have same bar code
one element can only have one ID serial number or unique code
*** Iphone8 imei number xxxxx
Let's talk about forms
used for getting the user data? yes
elements hereaction is basically telling the form where to put data for processing -> backend
method = how you want to send the data
Primary function is to make things look beautiful(people like beauty) Responsiveness
style is done by property and value
color: blue background-color: #fff -> white
property: value
How can you style your elements
style attribute inside the element tag
selector { properties: value; properties2: value2; }
why cascading cause it follows the order like this inline is applied at last and hence is always at top
best practice to do that is using a separate sheet for this has an extension of .css
and write all of your styles inside that sheet
.phoneName{ font-size: medium; font-family: Arial, Helvetica, sans-serif; background-color: lightcyan; color: black; }
#hockeyCheckbox{ color: red; font-size: large;
}
id's overrule the classes