search
HomeWeb Front-endHTML TutorialNovice self-study website building HTML Lesson 3 Making my first web page_html/css_WEB-ITnose

In the last lesson, we learned about the working interface of Dreamweaver. Starting from this lesson, we start to learn the production of web pages from the shallower to the deeper.

First open Dreamweaver. To create a web page, you must first create a new document, just like we need a piece of paper to write a manuscript.

Only with a carrier can you create on it, so the first knowledge point you want to learn today: several methods of creating and saving documents.

Let’s start with the three methods of creating a new document:

The picture lists three methods of creating a new document,

New: shortcut key ( Ctrl N).

Let’s talk about several methods of saving documents:

Save: shortcut key (Ctrl S)

Save as: shortcut Key (Ctrl Shift S)

A good habit for making web pages: save the document at any time to prevent the loss of document content caused by unexpected factors (such as breakpoints, crashes, etc.).

The second knowledge point: making my first web page.

Take my first blog post (a must-read for website beginners) as an example and make it into a web page.

Blog post address:

There are more than 1,000 words, how do you put it into a web page?

The first thing I think of is: 1. Manual input. It’s just 1,000 words, no big deal.

OK, 5 minutes, done.

But in the blink of an eye, if one day at work, your boss asks you to turn a document with tens of thousands of words into a web page in 5 minutes. Then this method is absolutely impossible.

So I thought of the import function that I saw when I was getting familiar with various menus in the previous class. Can I import a document directly into a web page?

2. Import the word document to the web page.

First create a new word document.

Copy the blog post into a word document.

Click the Dreamweaver file menu?Import?word document.

A few seconds and done.

Is there any other way? Can I just copy and paste it? Give it a try!

Select the content of the blog post and right-click to copy.

Click the Edit menu to paste.

OK, it can be done as well.

Let’s observe its code:

It is found that each paragraph is composed of

XXXXXX

, this

What does it mean?

Open w3school, click on the html element, we can see this explanation:

Element:

This is my first paragraph.

The

element defines a paragraph in the HTML document.

This element has a start tag

, and an end tag

. The content of the

element is: This is my first paragraph.

It seems that

is a paragraph symbol. There is a Chinese word called "beginning and ending", so when we write a web page, don't forget to write the closing tag

.

Good habits for making web pages: tags must be written in pairs: (such as

, )

When making web pages Good habit: Always use lowercase letters for labels.

Give our webpage a name:

1. In the document toolbar, modify the webpage title in the title area.

2. Modify the page title at the code

.

Save the document, name it myfirstweb, and save it under the web folder: (Readers can choose your own folder to save and name)

Note: The document name must be letters or numbers, do not underline it, and do not name it with Chinese characters.

Double-click to open myfirstweb.html

Our first web page is completed.

The first web page is completed.

(Additional: If the import word document button is gray, it should be caused by the word software not being installed.)

by??Midnight Cat

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
HTML as a Markup Language: Its Function and PurposeHTML as a Markup Language: Its Function and PurposeApr 22, 2025 am 12:02 AM

The function of HTML is to define the structure and content of a web page, and its purpose is to provide a standardized way to display information. 1) HTML organizes various parts of the web page through tags and attributes, such as titles and paragraphs. 2) It supports the separation of content and performance and improves maintenance efficiency. 3) HTML is extensible, allowing custom tags to enhance SEO.

The Future of HTML, CSS, and JavaScript: Web Development TrendsThe Future of HTML, CSS, and JavaScript: Web Development TrendsApr 19, 2025 am 12:02 AM

The future trends of HTML are semantics and web components, the future trends of CSS are CSS-in-JS and CSSHoudini, and the future trends of JavaScript are WebAssembly and Serverless. 1. HTML semantics improve accessibility and SEO effects, and Web components improve development efficiency, but attention should be paid to browser compatibility. 2. CSS-in-JS enhances style management flexibility but may increase file size. CSSHoudini allows direct operation of CSS rendering. 3.WebAssembly optimizes browser application performance but has a steep learning curve, and Serverless simplifies development but requires optimization of cold start problems.

HTML: The Structure, CSS: The Style, JavaScript: The BehaviorHTML: The Structure, CSS: The Style, JavaScript: The BehaviorApr 18, 2025 am 12:09 AM

The roles of HTML, CSS and JavaScript in web development are: 1. HTML defines the web page structure, 2. CSS controls the web page style, and 3. JavaScript adds dynamic behavior. Together, they build the framework, aesthetics and interactivity of modern websites.

The Future of HTML: Evolution and Trends in Web DesignThe Future of HTML: Evolution and Trends in Web DesignApr 17, 2025 am 12:12 AM

The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

HTML vs. CSS vs. JavaScript: A Comparative OverviewHTML vs. CSS vs. JavaScript: A Comparative OverviewApr 16, 2025 am 12:04 AM

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTML: Is It a Programming Language or Something Else?HTML: Is It a Programming Language or Something Else?Apr 15, 2025 am 12:13 AM

HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

HTML: Building the Structure of Web PagesHTML: Building the Structure of Web PagesApr 14, 2025 am 12:14 AM

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

From Text to Websites: The Power of HTMLFrom Text to Websites: The Power of HTMLApr 13, 2025 am 12:07 AM

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools