Mindblown: a blog about philosophy.

  • Use tables for tabular data, CSS for layout

    Tables have traditionally been used to lay out content on the page; however this was never their intended use. They’re really meant to be used for displaying tabular data (such as data from a spreadsheet, for example). With the positioning capabilities of CSS, you can build HTML pages that just contain the page content, and […]

  • Non-breaking spaces in HTML

    Sometimes you want to keep certain words together so that they’re not split over two lines. The way to do this is with a non-breaking space. In HTML the markup for a non-breaking space looks like this: For example, the following words will wrap if they fall at the end of a line: while this example, […]

  • Use widths and heights with HTML images

    It’s a good idea to specify the width and height of an image when using an <img> tag. For example: The advantage of doing this is that the Web browser can format the page more quickly as it is loaded, as it knows how to lay out the images before they’ve been downloaded. This means that your visitors can start surfing […]

  • Embedding images in HTML

    Pointing correctly to images using the <img> tag is a common stumbling block for beginners. Often your Web page will look great on your desktop PC, but when you upload the page to your site, all the images are broken! The problem isn’t helped by some web page editors, which incorrectly place “file://” image URLs instead of […]

  • Use HTML comments wisely

    To make your HTML code clearer for you (and for others), you can add comments to your code. These are snippets of code that are ignored by Web browsers, so they’re useful for adding short notes and reminders within the code: Learn how to write and use comments in our HTML Comments tutorial.

  • Use an HTML validator

    It’s a great idea to run your Web pages through an HTML validator before you publish them on your Web site. These programs will pick up potential problems such as missing closing tags on tables, and using tags that won’t work properly on all browsers. Don’t forget – just because your page looks great in […]

  • Style HTML using style sheets wherever possible

    Style sheets will make your HTML coding life so much easier. No more <font> tags everywhere! You also get much finer control over the way your pages look, and you can change their appearance just by editing one style sheet file. If you haven’t worked with style sheets yet, pop over to our CSS tutorials to get going!

  • Always close your HTML tags

    When you type an opening HTML tag (e.g. <b>, <p>), always place the corresponding closing tag at the end. For example: This will ensure that your HTML pages work properly on all browsers, and will help to prevent any strange problems occurring in your pages! This is especially important with tags such as <div>, <span>, <table>, <tr> and <td>. Some tags don’t have a corresponding closing tag […]

  • Chicken Shawarma Pita Pizza

    Chicken Shawarma Pita Pizza

    INGREDIENTS  For the chicken shawarma For assembly INSTRUCTIONS

  • Chicken Shawarma Wraps

    Chicken Shawarma Wraps

    Ingredients Marinade: Yogurt Sauce: Sandwich: Directions

Got any book recommendations?