MS Expression Web – New Website


Microsoft Expression Web – New Website


”;


In the previous chapter, we have installed Microsoft Expression Web and now we are ready to start working on it. In this chapter, we will learn how to create a new website from scratch.

Create a Website

To create a new website, let’s open Microsoft Expression Web.

Create Website

Next, you need to follow the steps given below.

Step 1 − Select Site → New Site… menu option.

New Site

Step 2 − It will open the following dialog from which you can create or import different types of website.

One Page Site

Step 3 − For simplicity let’s select General → One Page Site.

  • Specify the location or you can browse to the location where you want the new website to be created.

  • Type in the name of your web in the name field and click OK.

General

Step 4 − The new web will be created with one page named default.htm. Let’s rename it to index.html with a right-click on the file and clicking on the Rename option.

Index

Step 5 − The default doctype used in Expression Web is −

<!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"> 

You can see it by just switching to the code view.

Code View

You can change the doctype from Tools → Page Editor Options → Authoring.

Tools

Step 6 − Now, let’s add <h1> tag inside the body tag and some text as shown in the following code.

<!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" /> 
   </head> 
   
   <body> 
      <h1> 
         This my first Web page 
      </h1> 
   </body> 
</html> 

Step 7 − To see our web in a browser, let’s go to the File menu and select the Preview in Browser → Any browser, let’s say, Internet Explorer.

Preview Browser

It will open our web in Internet Explorer.

Open Web

Advertisements

”;

Leave a Reply

Your email address will not be published. Required fields are marked *