How to make a page in html. An example of creating an html page in notepad
MOSCOW INSTITUTE OF OPEN EDUCATION
DEPARTMENT OF MATERIAL AND INFORMATION TECHNOLOGIES
Distance course materials
"Information technologies and education"
Polilova Tatyana Alekseevna
[email protected]
How to create a web page
The easiest way to create a web page is to use Microsoft Office tools. The latest versions of this package provide the ability to convert a regular document into HTML format with good code quality.
Word Features
A document prepared in the Word text editor can be easily converted into a web page. However, it will not look as attractive as you would like if additional steps are not taken. Let's look at a few examples.
Let's take some text.
We convert the document into a web page using the Save as web page... operation (called from the main menu - File item). Then the html representation of the document will look like:
The first thing that catches your eye is that the text takes up the entire screen space. The string length is too long. For comfortable reading on the screen, the number of characters per line should be in the range of 50-65.
Using a table
In this case, you can do it quite simply: create a table in the source document and place the desired text in it. You can set a frame in the table. Then the appearance of the web page will be much improved, and the page will look more attractive in the browser.
Background and style
It is advisable to choose a background that is not too bright so that the text can be read clearly on it. Such a background in the proposed list is, for example, Rice paper. The page view has changed noticeably:
Inserting a picture
You can add a picture to a document, taking it, for example, from a collection of clips.
You need to right-click on the picture, perform a copy operation, and then in the document specify the location for the picture and perform the paste operation of the copied object.
If you insert a picture inside a paragraph, then it is better to change the properties of the picture by setting the text to wrap around the picture (you need to select the main menu item Format and then Picture):
This will not create any extra empty space in the document.
Finally, you can add a frame and shadow to the picture using the buttons on the Drawing panel - Line Type and Shadow Style. Such nuances significantly add expressiveness to the page.
If the Drawing panel is not on the page, you need to install it by selecting the main menu item View and then Toolbars and Drawing.
Ticker
Word allows you to add other design elements to a web page, such as a “creeping line”. To use this feature, you need to open the web components panel on the screen (from the main menu - View, then Toolbars and Web Components). Clicking the Ticking Line operation button opens an additional window for specifying the text of the creeping line parameters.
As usual, you can change the font and attributes of a line: font size and character color. The web page will look like this on your screen:
We have given an example of only a very modest set of design techniques with which you can design a web page based on an existing document in Word format.
Using design templates
If you are starting to create a page from scratch, you can use the Web Page Wizard, which will help you create a document in a dialog. Or you can use a ready-made page design template, choosing it from a fairly representative set. To do this, in the Create operation, select the Create using a template mode and then General templates. A form will appear on the screen in which you need to select the Web pages tab:
The user can choose the color and style independently, for example, using the Format - Theme settings.
Creating hyperlinks and bookmarks
The last issue that we plan to consider in this section is the creation of hyperlinks in a document.
If we want to refer in a document to another document or another site on the Internet, then such a hyperlink can be made like this: select a piece of text (a word) in the document and perform the operation Insert - Hyperlink... A form will appear on the screen in which you specify the hyperlink address. The address can be entered explicitly or the file can be selected in the window.
Here you should remember that the address of the selected file on your computer may change when you create your site. Therefore, the implicit method of specifying an address is only suitable if the structure of your folder on your computer and on the Internet site is the same.
If a hyperlink should refer to another part of the same document, then you must first insert a bookmark at the beginning of the desired fragment. You need to perform the operation Insert - Bookmark, and enter the name of the bookmark in the form that appears on the screen.
Web Presentation in PowerPoint
PowerPoint is a program designed for creating presentations on a computer. However, it has the function of converting a prepared presentation into a web format.
You can open the prepared presentation and perform the operations (from the main menu) File - Save as web page. As usual, you need to specify the name of the web presentation in the window that opens. As a result of converting the presentation, a file with the specified name and extension .htm and a folder of the same name with additional materials will be created.
If you now call the web presentation from the browser, you can see the result of the conversion on the screen.
A special line is created at the bottom of the screen, where buttons for moving to slides and buttons for setting various parameters for viewing presentations are located.
The presentation can be viewed with the slide structure shown. But if this information is not of interest, then the field on the screen reserved for displaying the structure can be removed (operation expand/collapse structure in the bottom line).
Using the Show Stores button, you can view the slides in full screen.
Creating hyperlinks
In a presentation, you can create hyperlinks that link objects on a slide, for example, to other slides. In this way, it is possible to create a hypermedia structure that will naturally correspond to the ideology of the Internet. Let us explain this technique with an example.
Let us have several prepared slides on the topic of the flora of Lake Baikal, compiled from a collection of photographs. Let's create a new slide - a table of contents for the collection.
If the new slide is not the first in the sequence, then you need to go to the slide sorter mode (from the main menu using the View - Slide Sorter operations) and drag the new slide to the beginning of the collection.
Place small copies of all photographs on a new slide. The easiest way to do this is in the most straightforward way: copy all the photographs in the collection sequentially onto an empty slide, reduce their size and place them, for example, in two lines. The pictures can be further decorated with frames with shadows. You can add the title of your presentation to the table of contents slide. The presentation view in Slide Sorter mode is shown below:
Let's switch to the normal slide viewing mode (commands View and then Normal). On the table of contents slide, select the photo and execute the command Insert - Hyperlink. In the window that opens, set the transition via hyperlink - the number of the slide with a large photograph from which the smaller sample for the table of contents was copied.
Similarly, we will link other pictures on the table of contents slide with the corresponding slides with the original photographs.
If we now run our presentation, it will work like a hypermedia structure: when you click on a small photo, it will go to a slide with a larger photo.
It remains to improve our structure quite a bit. Let's add an arrow to each slide with a photo in its upper left part (AutoShape on the Drawing toolbar), and make a hyperlink from this arrow that will go to the table of contents slide. Now the movement through the hypermedia structure we have created will become “two-way”: from the table of contents you can go to slides with photographs, and from any slide you can return to the table of contents.
After converting the presentation to web format, our first page will look like this:
Clicking on a picture from the menu will take you to a slide with a large photo, and clicking on the arrow (at the top left of the slide) will take you to the collection's table of contents page.
As you know, everything great always starts small. If you are interested in the answer to the question of how to create a website using a notepad, then you have probably heard about this possibility somewhere. This is indeed possible. But it’s worth mentioning right away that most likely no one will currently create a modern dynamic interactive website using a notepad, since there are special programs for this that greatly speed up and simplify the development process. But creating a full-fledged web page is quite possible.
How to create a website in notepadTo begin with, you need a little familiarity with the theory and general terms. The vast majority of website pages are ordinary text documents that are designed in a special way - hypertext markup language, abbreviated as HTML. Some people classify HTML markup as a programming language, but this is not true.
HTML is simply a way of standardizing document markup that is uniquely interpreted by browsers to be displayed on computer screens in a user-friendly form. The main tool of the HTML language are special structural elements with the help of which the document is drawn up. These are called descriptors or tags.
In general, a tag is a construction of the form