written by: Tye Yorkshire•edited by: Amy Carson•updated: 5/19/2011
Traditional coding might be considered a primitive approach and it can certainly be a daunting task. If you want to create an HTML event calendar, avoid manual coding at all costs! It'll only offer headaches. Instead, employ the help of a modern code generator to get the task done quicker.
slide 1 of 4
Step 1: Creating the Calendar
There's no doubt that there are quite a few code generators available that you can use to create your calendar. All of them are easy to use and include step-by-step instructions. For the purposes of this tutorial tutorial though, and the functionality it offers, you might just want to opt for Data Creek's generator.
To get started then, open up your preferred web browser and visit Data Creek. The webpage that loads will feature a table with a bunch of different fields that you can type information into as well as a large array of options.
At the top of the table there are three drop-down menus where you can select the month, the number of days within that month, and what day of the week that month starts on. Once you've entered the required prerequisite information, you can begin entering any and all events that are going to occur in the appropriate text box. You can list as many events as you have, but you'll need to use the <br> code between the end of one event and the beginning of the next. This will place each event on separate lines.
Tip: Is one particular event more important than the rest? If so, you can always bold or italicize the characters you type. To do this, just type <b> to bold characters followed by </b> or <i> to italicize characters followed by </i>.
After recording all events, quickly specify the year via the drop-down menu located beside the last day of the month. There you have it! Your calendar's basic components are all created. Now you just need to add some additional information and customize its appearance.
slide 2 of 4
Step 2: Customizing The Calendar
Scroll further down the page until you find various fields that allow you to specify additional details. The available options that you'll want to fill out include your:
Organization's Name: The title of your business, organization, or your website. An example might be "Bright Hub Community Events," or similar.
Department: Specify the department or service that this calendar applies to. This is a useful field to use if you have different calendar for different parts of your webpage.
Index Page: The index page of your website is commonly just the homepage. For example, "www.BrightHub.com" would be the index page for Bright Hub. Double check with your hosting service to verify this though if unsure.
Web Address: The URL where this calendar will show up when installed. If you're going to have the calendar on your homepage, enter that address; if you're going to have the calendar on another webpage on your website, enter that address.
As soon as you have entered the above information, you can proceed in customizing the appearance of your calendar.
slide 3 of 4
As soon as you have entered the information from the previous page (organization name, department, index page of your website, web address where the calendar will appear), you can proceed in customizing the appearance of your calendar. This part of the setup is pretty self-explanatory, but essentially you'll be given the opportunity to adjust basic components such as the:
Bottom Text: The text that appears at the bottom of the calendar. A Copyright Notice or special instructions to R.S.V.P. may be viable choices to include in this field.
Background Color: This allows you to change the color of the calendar's background to whatever you desire. You can pick one from the available colors or define your own via hex code.
Text Color: You'll be given the option to specify the color of the calendar's text as well as the color of the text outside of it.
Upon finishing all of these fields, click the "Make Calendar" button near the bottom of the webpage. This will cause a new window to load that provides you with a preview of the calendar you just created. Examine it and look for any hidden flaws or errors. When you're confident that the calendar looks appropriate and has no errors, proceed.
slide 4 of 4
Step 3: Installing The Calendar
Phew! Now that you have your calendar all setup just the way you like it, you can move ahead and install it. Right-click on the "Make Calendar" button and select the "Save As" option from the drop-down menu that appears. Give the file a name and make sure you save it as "Web Page, HTML Only" or similar. This will ensure that the extension of the file is either .HTM or .HTML.
Once saved, go to the same directory as your homepage and upload it. Depending on your website editor or hosting service, the installation sequence may differ. If you experience difficulties, just glance at your provider's guide to find the correct approach to installation. Alternatively, you can just open the file you created in Notepad and copy and paste it onto your website.
Just save and republish the specific webpage you've installed the calendar on and you're all done! It's a fairly easy and straightforward method you can use to place an HTML event calendar on your website. Just take the time you need to ensure the process is done correctly and you should accomplish this with few hassles.