Topics in this sectionDreamweaver and Website Development3 topics
- Dreamweaver Interface and Site Setup
- Creating Web Pages with Links and Images
- Publishing and Managing Websites
Creating Web Pages with Links and Images in Dreamweaver
Dreamweaver is a powerful tool that lets you build professional-looking websites without writing code by hand. In this lesson, you will learn how to create web pages that contain headings, paragraphs, text links, email links, images, and tables. These are the building blocks of every website you see on the internet.
When you visit a website, you see headings that give you a quick idea of what each section is about. You click links to move from one page to another or to send an email. You see pictures that make the page interesting, and you may even see tables that organize information neatly. Dreamweaver lets you add all of these elements to your pages with just a few clicks.
Headings and paragraphs are the foundation of any web page. A heading is a large, bold line of text that introduces a section. Paragraphs contain the detailed text that explains your content.
In Dreamweaver, you create a heading by selecting the text you have typed and then choosing a heading level from the Properties panel. There are six heading levels, called H1 through H6. H1 is the largest and most important heading, while H6 is the smallest. For the main title of your page, use H1. For sub-sections, use H2 or H3.
To create a paragraph, simply type your text and press Enter (or Return on a Mac). Dreamweaver automatically wraps your text in paragraph tags, which tell the web browser to leave space before and after the text.
Try creating a simple page with one heading and three paragraphs. Save the file as index.html in your website folder.
A link (also called a hyperlink) is text or an image that, when clicked, takes the visitor to another page or to a different place on the same page. Links are what make the web "web-like" — they connect everything together.
To create a text link in Dreamweaver:
- Select the text you want to turn into a link. This text will usually be blue and underlined, but you can change these colors using CSS.
- Look at the Properties panel at the bottom of the screen. Find the box labeled "Link."
- Type the address of the page you want to link to. For example, if you are linking to a page called about.html in the same folder, you would type "about.html". If you are linking to a website, you would type the full address, such as https://www.example.com.
- Press Enter. The text will now appear as a link.
You can also use the Browse button next to the Link box to find and select a file on your computer.
An email link is a special kind of link that, when clicked, opens the visitor's email program with a new message addressed to you. This is useful for "Contact Us" pages.
To create an email link:
- Type the text that should appear on the screen, such as "Email us" or "Contact the webmaster."
- Select the text.
- In the Properties panel, type mailto: followed by your email address in the Link box. For example: mailto:teacher@school.edu.ss
- When a visitor clicks this link, their email program will open with a new message ready to send to your address.
Images make web pages attractive and easier to understand. A photograph of a product, for example, tells a customer more than words alone.
To insert an image in Dreamweaver:
- Place your cursor where you want the image to appear.
- Click the Insert menu and choose Image, or click the Image button in the Insert panel.
- Browse to the folder where your image file is saved. Select the image file (common formats include .jpg, .png, and .gif).
- Click OK.
Dreamweaver will ask you to enter alternate text for the image. Alternate text (also called alt text) is a short description of the image that appears if the image cannot be loaded, or that screen readers read to visually impaired visitors. Always write meaningful alternate text — for example, "Photograph of the Nile River at Juba" or "Logo of Nzara Secondary School."
Alternate text is not optional. It is required for accessible websites that everyone can use.
Tables are useful for organizing information into rows and columns. You might use a table to display a class schedule, a price list, or a comparison of products.
To create a table in Dreamweaver:
- Place your cursor where you want the table to appear.
- Click Insert and choose Table, or click the Table button in the Insert panel.
- A dialog box will appear. Enter the number of rows (horizontal lines) and columns (vertical lines) you need.
- Set the table width. This can be a specific number of pixels (such as 600) or a percentage of the page width (such as 100%).
- Cell padding is the space between the edge of a cell and its content. Cell spacing is the space between cells. Border is the thickness of the lines around cells and between them. For a simple table, you might use 1 pixel for the border and 5 pixels for cell padding.
- Click OK.
Dreamweaver will create the table with empty cells. Click inside any cell to type text or insert an image.
A table header is a special kind of cell that contains the title of a column or row. Headers are usually displayed in bold and centered. To make a cell a header, select the cell and choose "Header" from the Properties panel, or use the Table dialog to specify header rows or columns when you create the table.
For example, if you create a table showing school subjects and their teachers, the top row containing "Subject" and "Teacher" should be header cells.
After creating a table, you can change its appearance using the Properties panel:
- Change the border thickness by entering a new number in the Border box.
- Adjust cell padding and cell spacing.
- Change the background color of the entire table or of individual cells.
- Align text inside cells (left, center, or right).
These properties help you make tables that are easy to read and match the design of your website.
A complete web page usually contains several of these elements working together. A typical "About Us" page might have:
- An H1 heading at the top with the page title
- A paragraph introducing the organization
- An image showing the building or a recent event
- A paragraph of additional details
- A table listing team members with their roles
- Links at the bottom to other pages on the site
- An email link so visitors can get in touch
When you build pages like this, remember to save your files in the same folder as your images, or the images will not appear when you view the page in a browser.
In South Sudan, many government ministries, schools, and businesses are beginning to create websites to share information with the public. For example, a secondary school in Wau could create a website with pages showing the school timetable, photographs of recent sports events, and an email link for parents to contact the headteacher. Learning to create web pages with links and images in Dreamweaver gives you the skills to build these kinds of useful websites for organizations in your community.
Question
In Dreamweaver, which heading level (H1–H6) should be used for the main title of a web page?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet