Back to the blog

A three da break

It’s been a 3 day break, but I haven’t forgotten to study HTML or write notes on what I’ve learned.

I cannot ay as I have a lot to report on, but if nothing else, I’ll do some practicing here and debrief on what I have learned thus far.

learning platforms

I have been using both the Mimo app and Solo Learn.

They both have subscription services, but I feel like you can get by and not subscribe with soloLearn, whereas with Mimo, you sort of have to.

I like how Mimo’s courses are taught more than SoloLearn, but I like that SoloLearn has more courses, and I can still learn with SOlolearn. Sololearn is more community driven, which I like as well.

So anyway, I’m using both services.

Mostly, I’ve been working with links, and according to my notes, here is what I thought to write down:

h⁠r⁠e⁠f⁠ is an attribute. All attributes have two things in common: they provide extra information and they go inside the opening tag.

Attributes are added after the name of the tag, and before the >⁠ closing sign.

I wrote this own because I’ve been trying to pick apart the structure of links to understand them more for a while now, and with this, I think I understand them a bit more.

For some background

A link begins with < A. I asked TJ what the A stood for. He told me that it stood for “Anchor”. But what is Anchor?

After doing some digging, I found this quara link on anchors that said this:

Originally anchor tags were used to link content within a specific large document (especially PDFs, not HTML pages), so a table of contents might contain internal anchor tags to the relative sections of the document, indexed by that table of content, for instance, and those relevant sections might contain links back to the table of contents – all within the same document. Thus the tag, acted like an anchor, dragging the view port across the document to it’s point of anchor, like an anchor cable on a ship, dragging the ship across the surface of the sea to the point where the anchor was hitched. In fact, the animation that accompanied this action, often simulated this happening, to inform the user that this is what was taking place.

the href

So the Href, or hypertext reference is equal to the “Link”. Then there are probably some attributes. Then it ends with a /anchor>.

comments

In order to make comments I learned that you need to write it like: <!– This is my comment –>

I’d give an example, but the point is that you wouldn’t be able to see the comment.

images

I start to see why people make “images” folders. It saves time when adding images to the site, unless you source them elsewhere.

The code for adding images is: <img src=”URL”/>.

You can also add hight and width attributes *Remember attributes?) to the URL like so:
<img src=”URL” hight=100 width=100/>.

When I was double checking the image URL from This W3 Schools link on images it said that a required attribute was the alt = Description. In Sololearn, it did not give this requirement. It makes me wonder if this isn’t so much a requirement as it is best practice. I’d imagine to put an image in a page without an Alt attribute would just give the name of the file which does a hell of a lot of good to screen readers. Note the sarcasm.

So if you have an images folder, you actually don’t have to put the URL. YOu can just put <img src=”images/thing.jpg”/>.

practice

Because I just got home from work and I am exhausted after not having slept well the previous night, I am going to leave this here.

Tomorrow, however, will be a day of practice where I will write a blog with all of the things I’ve learned so far. It will contain:

  • links
  • headings
  • buttons, that do nothing
  • lists, all the kinds
  • images
  • writing out comments for code
  • HTML page structure

When I put it like that, I’ve actually accomplished a lot over this past week and a half, and hopefully by writing it down, I’ll be held accountable. 🙂

Well, off for now.

0 comments on “Back to the blog

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from The Wheel of Code

Subscribe now to keep reading and get access to the full archive.

Continue reading