Thursday, October 1, 2015

HTML code template

Here is a template for the minimal complete HTML page. If your page doesn't have all these elements, you should edit your page to include all of them. When you start a new page, you can copy and paste this code to get started.
<!DOCTYPE html>
    YOUR NAME HERE, date, project name, class, etc.
    <meta charset='utf-8' />
    <meta name="viewport" content="width=device-width"/> 
    <title>My Web Page</title>
    <style type='text/css'>
    /* styles go here */


    <h1>My Web Page</h1>
    <!-- page content will go here -->

    <script type='text/javascript'>
    // scripts will go here


Here is the code for a bullet list:
    <li>Mission College
    <li>Ohlone College
    <li>Gavilan College
    <li>Cabrillo College

Here is the code for a table:

Here is an excellent tutorial on HTML tables (thank you to the student who linked this to your page):

No comments:

Post a Comment