It’s been going well so far. I’m following the W3Schools guide to learn everything. So far soo good, I’ve learned a couple of things already such as:
<h1>, <h2>, <h3>, <h4> are types of headings that decrease in size as you go on.
<p> is used for paragraphs.
<hr> is for a straight line across the site.
One issue with using <p> is that you cannot add spaces or switch to another line, so there are 2 alternatives:
Using <br>, which breaks the line.
Or using <pre>, which allows the text to behave in the same way as you write your code in.
<strong> and <b> bold the text.
<em> makes the text italic.
<mark> highlights the text from within.
<del> creates a strikethrough.
<sub> adds a subscript.
<sup> adds a superscript.
Within each element you can add style="" and change aspects of the code such as the colour/background colour.
To refer to a link you can use:
<a href="link">text</a>
There are no closing tags when using <img>, <br>, or <hr>.
Uhh yea, that’s the first day in and out :)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.