Joel Diharce
Posted on September 6, 2022
Attributes are a major part of HTML... D:
They give extra information about an element that the encoder uses to do things in a specific way. They don't seem to need their own tags to do this either. :D
Apparently, you just add them in within other tags.
The first example we're given is:
<p lang="en-US">Things to do today</p>
The attribute is the lang='en-US" within the p tag. Broken down, attributes are given a name and a value (<p name="value">
)
In this video, this is all we're given. This is fine, because we're told we will learn more about this soon. :D Onward!!
💖 💪 🙅 🚩
Joel Diharce
Posted on September 6, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.