Hi People. Don’t even know if to call this day 2. Remember, I am trying to build a friend photo app and yesterday I took you through the foundation( a bit of the foundation). Let's continue today. Here goes the 5 things I learnt today.
- Nesting Elements I came as child of my parents. I came from their body and then became my identity. But I am related to them. Same way HTML elements are nested. A nested element is a child of its parent element.
- Adding Images to your web pages
Seen those fine web pages where you see pictures, this is the mystery behind it o. The first step is to add an
tag. It’s self-enclosing i.e you don’t need to close it.
- HTML attributes
Girls will relate more with this. You know the way you constantly hear “fine girl”, “wife material” etc and then you start feeling on top of the world especially if it comes from the right person, same way HTML attributes are special words used inside the opening tag of an element to control the element's behaviour.
i. A “src” attribute is added to an
element to show where the image is located.
ii. An “alt” attribute is helpful when the image doesn’t load. It describes what image it is. Also, for person who can’t see the screen reader reads what displayed in this attribute.
Anchor element This used to link web pages.
Anchor text link's text must be placed between the opening and closing tags of an anchor (a) element.
That’s all for today. Thinking of increasing the number of lessons per day to help me achieve more. Tell me what you think. [Click to see the final look of today's work].Please leave a comment on this.