Blogger Widgets

Monday, December 9, 2013

What I know about coding (which isn't much).

So there are a bunch of elements and tags in HTML. HTML stands for Hyper Text Markup Language. These are the tags and elements that I know:
  • <head><title></title></head> - This is where you put the title of the page.
  • <body></body> - When you put code between these elements, it will be visible on the web page.
  • <html></html>- The text between these describes everything in the web page.
  • <img src="(file name or web address"></img> - With this tag, you can insert an image on your web page.You can use either a file from your computer or an image's link from the internet.
  • <a href="(web address holla)"></a> - This creates a hyperlink on your page. You can make it external (linking to another website) or internal (linking to another page on your website).
  • <p></p> - This creates a paragraph. The </p> is optional.
  • </br> - A line break.
  • <hr> - Horizontal break. It's basically the same thing as a </br>
  • <!--blah blah blah--> - With this, you can leave notes in your code that doesn't show up on your page. A lot of people use it to show people what they can change in the coding without messing everything up.
  • <var> - This defines a variable. I don't really know what to do with this tag, I just know it.
And this is some really basic text stuff:
  • <b></b> - Makes text bold.
  • <i></i> - Italicizes text.
  • <u></u> - Underlines text.
  • <mark></mark> - Highlights text.
  • <sup></sup> - Makes superscripted text.
  • <sub></sub> - Makes subscripted text.
  • <em></em> - Emphasizes text. Basically the same thing as <i></i>
  • <ol></ol> - This makes an organized list.
  • <ul></ul> - An unorganized list.
  • <h(1-6)></h(1-6)> - These are headers. The biggest header you can make is <h1>, and the smallest is <h6>.
Header 6
Header 5

Header 4

Header 3

Header 2

Header 1

It isn't that difficult to understand so far. Next week I'll try to work with CSS. It probably won't work that well, but we'll see.

No comments:

Post a Comment