Creating menus

  • Post author:
  • Post Category:HTML
  • Post Comments:0 Comments

We create menus using the unordered list tags <ul></ul> and the list item tags <li></li>. Let's start with some raw html and see what it looks like. <!DOCTYPE html> <html>…

Continue Reading Creating menus

Links within pages

If we create another page of a website, we can link to it within our website using the <a href> </a> tags. e.g. <a href="about_me.html">About me</a> If the file 'about_me.html'…

Continue Reading Links within pages

Comments inside HTML and CSS

Often, it's a good idea to make comments in HTML and CSS code. These comments server the purpose to tell us in plain English what the code actually is, or…

Continue Reading Comments inside HTML and CSS

div tag in HTML

Is a way of breaking up the page into boxes that can be moved and styled using CSS <!DOCTYPE html> <html> <head> <title>My website</title> <meta charset="UTF-8"> </head> <body> <div> <section>…

Continue Reading div tag in HTML

Basic HTML layout

  • Post author:
  • Post Category:HTML
  • Post Comments:0 Comments

<!DOCTYPE html> <html> <head> <title>Holidays</title> <meta charset="UTF-8"> </head> <body> <section> <h2>Latest Deals</h2> <h3>See latest holiday deals here</h3> <article> <h4>Holiday 1</h4> <p>A lovely break in spain</p> </article> </section> </body> </html>

Continue Reading Basic HTML layout