Toggle Menu
  • Home
    • About Us
    • Contact
    • Portfolio
    • Site Map
  • Expression Web Tutorials
    • Installing Expression Web 4
    • Setting Up Expression Web 4.0
    • Create New Website
    • Create a Blank Web Page
    • Create a Webpage Layout
    • Adding Horizontal Top Navigation
    • Adding Vertical Navigation
    • Validating Your Pages
    • Creating an Expression Web Dynamic Web Template
    • Publishing Your Web Site
    • How to back up your local website on your hard drive
    • SEO Checker and Report
    • Adding Insert Include Code into Code Snippets
    • Auto Thumbnail in Expression Web
    • Broken Dynamic Web Templates and hidden metadata files
    • Code Snippets in Expression Web
    • Compatibility Checker on Status Bar in Expression Web
    • Create and Style a Data Table
    • Creating a New Font Family Group
    • Creating a New Page from Hyperlink Properties
    • Creating web site from site templates in Expression Web
    • CSS Properties panel
    • Expression Web Preview in Browser
    • Expression Web and Design Time Includes
    • How to back up your local website on your hard drive
    • How to create a Personal Web Package
    • Import Site Wizard in Expression Web
    • Importing your folders/files into Expression Web
    • Inserting Images in Expression Web
    • Interactive Buttons in Expression Web
    • Migrating a FrontPage Site to Expression Web
    • Modify Style Dialog Box
    • New Style Dialog Box
    • Publishing Your Website from the Remote Server with FrontPage Server Extensions
    • Editing Reusable Forms
    • Troubleshooting Image Problems in Expression Web
    • Validation Error - no attribute "xmlns:v"
    • Web Album Generator and Expression Web
    • What are all the style# in my page?
    • Zoom Search and Expression Web
    • Working With Left Border Background Images
  • Resources
    • Accessible Color - Color Contrast
    • CSS Basics
    • Expression Web eBooks
    • Guide to Dealing With Google's Malware Warnings
    • HTML Cleaner
    • Huggins Email Form Script
    • Free Forms
    • Learn HTML
    • Migrating from FrontPage to Expression Web
    • Newbies
    • Search Engine Optimization - SEO
  • Templates
    • Complete Site Templates
    • Expression Web In Box Templates
    • Dynamic Web Templates
    • Mobile Friendly Site Templates
    • Crafting Series
    • Christmas Templates
  • Web Design Tutorials
    • Accessible Forms
    • Add a Search Box
    • Adding Google Search
    • Accessible Data and Layout Tables
    • Anchor Tags and Name Attributes
    • Best Font Size for Web Design?
    • Center Page in Browser Window
    • HTML Lists
    • How to create and extract a Zip File in Windows
    • How to Create a Self-Extracting Zip File
    • Validation Error - no attribute "xmlns:v"
    • Working With Left Border Background Images
    • Handle Background Transparency in Snagit Editor Like You Would in Photoshop
  • Bluehost Tutorials
    • Add-on Domains at BlueHost
    • BlueHost 301 Redirects
    • BlueHost Webmail
    • Customizing BlueHost Error Pages
    • How to make a subfolder the main folder for your BlueHost main domain
    • How to change the Primary Domain
    • Installing a WordPress Blog Using Simple Scripts
    • Mannaging SSL on BH
    • Password Protecting Directories and/or Files with Bluehost
    • Server Side Includes, BlueHost, and Expression Web
  • Expression Web Addins
    • Ajatix Email Spam Blocker
    • Ajatix Advanced CSS Drop Down Menu
    • Ajatix Lightbox Add-In
    • Ajatix Image / Banner Slider

Create a Blank Webpage

Now that you have actually created your website, you will need to create your Home Page. If you created a one page website, your Home Page was created at that time. If you created a blank website, you will need to create a Home Page for the site.

Expression Web 4.0 can create various types of pages, BUT in this tutorial we will create an HTML page and its corresponding style sheet. Types of pages that can be created include:

  • HTML
  • ASPX
  • ASP
  • PHP
  • CSS
  • Master Page
  • Dynamic Web Template
  • Javascript
  • XML
  • Text File

Create a Blank Web Page

Step 1: There are a number of ways for you to create your new page:

  • Ctrl + N
  • File > New > HTML.
  • Click File > New > Page > General > HTML.  View Screenshot
  • Click the New Document dropdown from the Toolbar > select HTML View Screenshot

If you click the Code Tab and view the page source, you should see something like what is below.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" >
<title>Untitled 1</title>
</head>
<body>
</body>
</html>

Step 2: Depending on what you chose as your default extension, when you set up EW 4.0, your newly created page has the file name Untitled_1.html or Untitled_1.htm  You will need to save the page.

Saving the Page

Step 3: There are a number of ways to save your pages:

  • Ctrl + S
  • Right Click the page tab. > Select Save.
  • Click File > Save.
  • Click the Save icon on the Toolbar.

In the dialog box that opens,  'file name' will be highlighted. > Type 'index,' > press the Enter key OR click 'Save.'  It is not necessary to add the file extension .htm or .html. Expression Web will do it for you. View Screenshot Your page has been saved, and you are ready to add the external style sheet.

NOTE: What you name your Home Page will depend on what your hosting provider requires. Most will accept index.html or index.htm. Some may require that you use another name so be sure and check with your provider.

Create an External Style Sheet (CSS)

Step 4: There are a number of ways to create your new style sheet:

  • File > New > CSS
  • Click File > New > Page > General > CSS.
  • Click the New Document dropdown from the Toolbar. > Select CSS.

Step 5: Save the page as you did, following the choices in Step 3. Type a name for the style sheet. Expression Web will add the file extension for you.

Attach the External Style Sheet to the Page

Step 6: As with many things you do in Expression Web, there is more than one way to accomplish a task. To attach the external style sheet to the page:

  • With the webpage open in Design view, drag the .css file from either the Folder List panel or the Site View onto the page.
  • In the Manage Styles Panel  or the Apply Styles Panel, click on 'Attach Style Sheet.'
    Screenshot Manage Styles Task Panel.
    • Browse to your style sheet in the popup box.
    • Attach To: Check 'Current Page.'
    • Attach As:  Check 'Link.'
    • Click OK. 

View Screenshot

If you click the Code Tab and view the page source, you should see a line of code has been added to your page with the name of your style sheet.

<link href="sample.css" rel="stylesheet" type="text/css" >

Summary

You have now created your Home Page and the external style sheet and attached the style sheet to your page. The next step is to create the layout for our page.

You could use one of the premade templates that come with Expression Web or you could choose to download and use one of these CSS-based layout templates available from Genealogy Web Creations or import one of the Personal Web Packages from Expression Web Tutorials and Templates. OR you can create a basic layout from scratch as the next tutorial will guide you through.

Expression Web supports Dynamic Web Templates as a way to maintain a consistent look to your site. The page we are creating will be the basis for a DWT for your site. Tina Clarke offers free the Expression Web DWT Ebook. This is an excellent resource, so be sure and take advantage of this free download.

NEXT: Create a Webpage Layout in Expression Web Next.


Copyright © 2009 Pat Geary of Expression Web Tutorials and Templates, All Rights Reserved
Revised July 2010



Expression Web 4.0 Tutorials 2nd Edition from Install to Publish, a FREE EBook by Pat Geary.

Expression Web 4.0 Tutorials 2nd Edition from Install to Publish, a FREE EBook by Pat Geary.

Join our Facebook Group for Expression Web.

Expression Web has a group on Facebook. If you are a FB user, come join us.

Signup for BlueHost hosting account.

Disclosure: This is an affiliate link, which means that if you visit Bluehost.com through this link and purchase this product, I’ll get a commission.

Microsoft MVP Logo.
April 2007 - April 2013

Privacy Policy |  Migrating from FrontPage to Expression Web

Microsoft® and Expression Web® are registered trademarks of Microsoft® Corporation.

Site Design & Maintenance : Expression Web Tutorials & Templates