Today I Learnt Some HTML.
Total Days 2
Total Earned $0.
I learnt that a “tag” is a bit of code that tell a browser what to do. For a tag to work you have to <open> it and then </close> it.
- If you want some text on a webpage you put it inside a <p>aragraph tag. Html doesn’t acknowledge line breaks so if you want a new paragraph you need to use a <br>eak tag. <br>eak tags can be self-closing when written as <br />. If you want a line instead of just a line break then use a <hr /> tag for a horizontal rule (like the short grey line above).
- You can format text. Use the <strong> tag for bold, <em>phasis tag for italics, the <u>nderline tag or the <strike>through for strikethrough text. There are also 6 sizes of header text. <h1> is the largest and <h6> the smallest.
- You can also create lists. <ol> for numbered lists and <ul> for bullet points. In between the open and close tags each list item starts...