This exercise says that attributes can provide information. What kind of information do attributes provide?
There are several different types of attributes which can extend tags in different ways. Usually attributes either change an element’s behavior, provide metadata about the element, or provide labeling information about the element. For example, the
id attribute uniquely identifies an element whereas the
class attribute identifies a whole group of elements. This labeling information can then be used to target content for styling, scripting, or (for the
id attribute) linking. For more information about these attributes, check out classes vs ids.
You should include that link when all the people on that lesson had completed Unit 5 of HTML and CSS course. I’ve spotted that several of your links do not concord with the average level of the people who click on it. Be patient and try to only share information that the average user can digest. If you link them to extensive courses, original documentation or other information which may need prerequisites you are only going to depress them.
It's quite true! When looking through the FAQs, the one on global attributes made me like want to run away. Please for the purpose of readers who might not yet be as advanced as you are, please try to simplify in simpler words.
i really don’t understand the use of attributes
The example that’s given in the linked article actually doesn’t work. There are some coding syntax issues and I am not able to run the code and output the desired page.
We want to >learn< coding… so we have no understanding of the meaning of >the code< It is very useful to see that we don’t know it all… never the less is the motivational degree below average when you can not approach knowledge by misunderstanding the code it is written in. Therefor my simple advice>> keep it sesame
Milk before the Steak please.
I’m 64 and have clients that want me either to update existing websites built by others in many different codes where I have to sleuth. Back “in the day” when computers were just starting to “inroad” the profession, such as Typesetting and Pagination I learned coding for three prominent providers. Coding was exact because the Graphic Production Artist needed exact results. Then I took Code Academy’s courses back in 2013 to try to learn HTML and CSS. I was depressed and “broken” at the end because the explanations didn’t include reasons as to the “why” things were coded, and why they are coded in the ways they are. For instance, I never realized that what I called “the loosie goosie” web coding was compared to the absolute coding of the past for publishing. For example. Publishing is exact, web needs the flexible, fluid coding to be able to deal with screen resolutions, flux line breaks, etc as a viewer may not be able to read small text and need to enlarge the web page. Coding needs to be able to deal with variables such as this.
So, explanations such as what I just wrote about will help new coders make sense of why it is the way it is instead of the “just do it this way” presentation.
I respectfully disagree. I am a beginner that finds it useful to scan through extensive reference to get the gist of what is required. Everyone has different learning styles. I may not see the big picture now, but I learn how each topic fits together better with a 2 min article scan.
Attribute is used to metadata section or when you need to connect two they are used
When I noticed that my knowledge was not where it should be to digest the information, I closed the link. Of course, I noticed that from the beginning.