Просмотр содержимого документа
«"HTML document structure"»
Laboratory work number 9.
"HTML document structure"
Goals:
1. Get acquainted with the basic concepts: tag, tag attribute.
2. Read the structure of the HTML document
3. Create the simple HTML page
In this laboratory work you will need to create the simplest
The HTML page that will contain the main structure of all pages of the site.
Working process
1. Create a Lab_1 folder on the local disk.
2. Open the Notepad text editor.
3. In the text editor, write the following code:
4. Save this document in the Lab_1 folder and name it index1.html
5. When saving in the Encoding field, select UTF-8 encoding (it is necessary
For the correct display of the symbol browser.
6. Open the saved file using the browser (you must open
empty page)
7. Open the index1.html file in the notebook
8. Inside the tag add tag
9. Save the file and open it again using the browser. Now your tab
Must be called my first page.
10. Add inside the tag Hello world text !!!
11. Save the file and see the result in the browser.
12. For the tag, add the BGColor = # FF00FF attribute ()
13. Save and look at the result in the browser (the background color should change)
14. For the tag, add the TEXT = # FF0000 attribute
15. Save and see the result in the browser (the color of the text should be changed)
Upon completion, you must have an index1.html file that is saved in
folder lab_1.
Which contains the following code:
Practical task.
You need to create a page that:
1. As the title name contains your name and surname.
2. Page background will flood green
3. Text color on the red page
4. Text on page:
Student (ka) FULL NAME, Group: XX IT XX, Specialty: Your name
SPECIALTY
File Save in the Lab_1 folder with the name index2.html
The report on the practical task must contain a description of your actions when
Perform a practical task with the applied final screen screen.