Settings. Line breaks and paragraphs.


Page sections

1-1 A 1 Showing file name extensions I 1-1 A 2 Showing file name extensions II 1-1 A 3 Basic folder structure for your HTML files 1-1 A 4 Creating an HTML file in Notepad++ 1-1 A 5 Editing an HTML file in Notepad++ 1-1 A 6 Saving an HTML file in Notepad++ with the "Save" button 1-1 A 7 Opening an HTML file in a browser 1-1 A 8 Opening an HTML file in Notepad++ 1-1 A 9 Modifying an HTML file in Notepad++ 1-1 A 10 1-1 A 11 Discover 1-1 A 12 1-1 A 13 1-1 A 14 1-1 A 15 Cats 1-1 A 16 Discover 1-1 A 17 How to write a paragraph tag pair 1-1 A 18 1-1 A 19 1-1 A 20 Rereading the yellow sections 1-1 A 21 StarfruitJuice01.html 1-1 B 1 Dogs 1-1 B 2 Birds 1-1 B 3 Cats 1-1 B 4 Dogs 1-1 B 5 Birds 1-1 B 6 Music 1-1 B 7 Games 1-1 B 8 Your own HTML file 1-1 Definition 1: HTML file 1-1 Definition 2: Characters 1-1 Definition 3: Font 1-1 Definition 4: Browser 1-1 Definition 5: Angle brackets 1-1 Definition 6: Tag 1-1 Definition 7: The break tag: <br> 1-1 Definition 8: Opening tag: <> 1-1 Definition 9: Closing tag: </> 1-1 Definition 10: Tag pair 1-1 Definition 11: Single tag 1-1 Definition 12: Element 1-1 Definition 13: The paragraph tag pair: <p></p> 1-1 Definition 14: Marked up content 1-1 Definition 15: Hyper 1-1 Definition 16: Hypertext 1-1 Definition 17: HTML 1-1 Example 1: Showing file name extensions in Windows 1-1 Example 2: HTML file 1-1 Example 3: Characters 1-1 Example 4: Style and size of characters 1-1 Example 5: Font 1-1 Example 6: Symbols for browsers 1-1 Example 7: Naming of practice files 1-1 Example 8: <br> 1-1 Example 9: Angle brackets 1-1 Example 10: The break tag: <br> 1-1 Example 11: Readability of code containing break tags 1-1 Example 12: Saving files for exercises that include a name 1-1 Example 13: Tag pair 1-1 Example 14: Single tag 1-1 Example 15: Element with text content 1-1 Example 16: Elements without content 1-1 Example 17: The paragraph tag pair: <p></p> 1-1 Example 18: How to write a paragraph tag pair 1-1 Example 19: The paragraph tag pair 1-1 Example 20: Paragraph tag pair 1-1 Example 21: Marked up content 1-1 Example 22: Hypertext 1-1 Explanation 1: Characters 1-1 Explanation 2: Notepad++ settings I: Default directory 1-1 Explanation 3: Notepad++ settings II: "Light mode" 1-1 Explanation 4: Notepad++ settings III: Setting "Font size" to 12 1-1 Explanation 5: Notepad++ settings IV: Unselecting "Word wrap" 1-1 Explanation 6: Naming and saving of the practice files 1-1 Explanation 7: <br> 1-1 Explanation 8: Readability of code containing break tags 1-1 Explanation 9: Saving files for exercises that include a name 1-1 Explanation 10: Tag pair 1-1 Explanation 11: Single and paired tags 1-1 Explanation 12: Single tags and tag pairs 1-1 Explanation 13: Exercises containing Discover in their name 1-1 Explanation 14: The paragraph tag pair: <p></p> 1-1 Explanation 15: How to write a tag pair - detailed steps 1-1 Explanation 16: How to write a tag pair - basic steps 1-1 Explanation 17: The difference between <br> and <p></p> 1-1 Explanation 18: The word paragraph 1-1 Explanation 19: Saving files for your own exercises 1-1 Explanation 20: The purpose of tag pairs 1-1 Explanation 21: HTML 1-1 Explanation 22: HTML 1-1 Orientation 1: Settings for showing file name extensions in Windows 1-1 Orientation 2: Showing file name extensions in Windows 1-1 Orientation 3: Full understanding of definitions 1-1 Orientation 4: Checking and setting up Notepad++ 1-1 Orientation 5: Folder names for the exercises' files in this HTML workbook 1-1 Orientation 6: Notepad++ for HTML files 1-1 Orientation 7: Saving a new file as a blank file before writing code 1-1 Orientation 8: Including closing tags from the beginning 1-1 Orientation 9: Hypertext 1-1 Orientation 10: Creating a web page 1-1 Orientation 11: Naming of the starfruit juice files 1-1 Submit 1: Study motivation

Workbook pages

1. Settings. Line breaks and paragraphs.

2. Commenting code and checking your StarfruitJuice files

3. Style Terms

4. Headings

5. Fonts and Colors.

6. Simplified HTML structure. Colors.

7. Ordered and unordered lists

8. More List Styles

9. Font Families and Font Sizes

10. Bold, Italic and Underline

11. Tables. Online HTML Editor.

12. Including images in Tables

13. Visual Studio Code. Table Colors.

14. Table Headings and Heights of Table Rows

15. Table Sizes, Borders and Alignments

16. Rice Files

17. Hyperlinks

18. Further studies

1-1 Orientation 1: Settings for showing file name extensions in Windows

Check if file extensions, such as in MyWordFile.docx, MyExcelFile.xlsx, or MyImage.jpg, are visible on your Windows computer. If they are visible, begin with Orientation 3: Full understanding of definitions. If they are not visible, like inMyWordFile, MyExcelFile, or MyImage, follow the next steps to make them visible.

1-1 Example 1: Showing file name extensions in Windows

With file name extensions made visible, the name of a file like MyWordFile will appear as:

MyWordFile.html

1-1 Orientation 2: Showing file name extensions in Windows

Depending on your Windows version, use either the next exercise or the one after that to make file extensions visible.

1-1 A 1 Showing file name extensions I

  1. open the C: drive
  2. click View in the toolbar
  3. in the dropdown menu, select Show
  4. in the Show menu that opens, select File name extensions so that a checkmark appears next to it
         

1-1 A 2 Showing file name extensions II

In Windows File Explorer perform these steps:
  1. click View
  2. select Options
  3. select Change folder and search options

  1. in the Folder Options window open the View tab
  2. uncheck the Hide extensions for known file types checkbox
         

  1. click OK



1-1 Orientation 3: Full understanding of definitions

Ensure you fully understand each definition in the following sections. If needed, use a dictionary or other resources to gain complete clarity on each of these definitions.

1-1 Example 2: HTML file

The file: Starfruit01.html is called an HTML file.

1-1 Definition 1: HTML file

A file, with its name ending in .html, is called an HTML file.

1-1 Example 3: Characters

Here are some examples for characters:
  • letters: A, b, C, z
  • numbers: 1, 5, 42, 789
  • punctuation marks: ., !, ?, ;
  • other signs: @, #, $, %, &, *

1-1 Definition 2: Characters

Symbols that include letters, numbers, punctuation marks, and other signs are called characters.

1-1 Explanation 1: Characters

Characters are used in writing and also for texts written on computers.

1-1 Example 4: Style and size of characters

The following line is written with a set of characters in a certain style and a certain size:
This is a little text.

The following line shows another sentence, written with a set of characters in another style, but with the same size as in the sentence above:
This is another little text.


1-1 Definition 3: Font

A set of characters of the same style and size is called a font.

1-1 Example 5: Font

Here is an example of two sentences written in two different fonts:

This is a little text.
This is another little text.

1-1 Orientation 4: Checking and setting up Notepad++

Check if Notepad++ is installed on your computer. If it is not, download the latest version here. Follow the steps outlined below to set up Notepad++.

1-1 Explanation 2: Notepad++ settings I: Default directory

  1. open Notepad++
  2. from the top toolbar, select Settings
  3. from the dropdown menu, select Preferences…
  4. in the Preferences window, select the Default Directory menu item
  5. under Default Open/Save file Directory, click the Follow current document radio button
  6. complete by clicking the Close button
         

1-1 Explanation 3: Notepad++ settings II: "Light mode"

  1. from the top toolbar in Notepad++, select Settings
  2. from the dropdown menu, click Preferences…
  3. in the Preferences window, click the Light mode radio button
  4. click the Close button at the bottom middle to finish
         

1-1 Explanation 4: Notepad++ settings III: Setting "Font size" to 12

  1. from the top toolbar in Notepad++, select Settings
  2. from the dropdown menu, select Style Configurator
  3. under Language :, select the Global Styles
  4. under Style :, select Default Style
  5. in Font Style, set the Font size to 12
  6. complete by clicking the Save & Close button
         

1-1 Explanation 5: Notepad++ settings IV: Unselecting "Word wrap"

  1. from the top toolbar in Notepad++, select View
  2. in the dropdown menu, ensure Word Wrap is not selected
         

1-1 A 3 Basic folder structure for your HTML files

Use the following steps to create the folder structure for the exercises' practice files.
  1. on the C: or D: drive, create a folder named: MyName_PracticeFiles, replacing MyName with your own one-word name, without any blank spaces
  2. in the MyName_PracticeFiles folder, create another folder named: HTML
  3. in the HTML folder, create 3 folders, named
    • Exercises01
    • MyOwnExercises01
    • StarfruitJuiceFiles


1-1 Orientation 5: Folder names for the exercises' files in this HTML workbook

The files you develop while using this workbook will be saved in three different types of folders, described here:

Exercises01
This folder contains all the files you create for the exercises in the first VBA workbook. The 01 in the folder name shows that this is folder 1 of several folders for other VBA workbooks. For the file names, use the exercise number without any blank spaces.

MyOwnExercises01
This folder is intended for files created from your own ideas.

StarfruitJuiceFiles
This folder is intended for the starfruitjuice files you create while using this workbook.


1-1 Definition 4: Browser

An application that allows you to view websites on the internet is called a browser.

1-1 Example 6: Symbols for browsers

Symbols for Firefox, Chrome and Brave browsers:          

1-1 Example 7: Naming of practice files

The following exercise is named 1-1 A 4. The file created for this exercise will be saved as 1-1A4.html. Note, that the file name: 1-1A4.html does not include the spaces seen in the exercise number: 1-1 A 4.html.

1-1 A 4 Creating an HTML file in Notepad++

  1. open Notepad++
  2. in the top left, click on File
  3. in the menu that opens, click on Save As…
  4. in the Save As window that opens, navigate to the Exercises01 folder
  5. click the File name text field and write the number of this exercise, without the blank spaces seen in the exercise number
  6. click the left down arrow in the Save as type: dropdown menu
  7. from the Save as type dopdown menu select: Hyper Text Markup Language file
  8. note that Notepad++ has appended .html to the file name
  9. In the Save As window, click the Save button. You have now saved a blank file.
  10. note that the label next to the blue icon, located just under the menu bar at the top left, shows the name of the file
         

1-1 A 5 Editing an HTML file in Notepad++

  1. in the editing area write: Welcome.
  2. note that the icon, located just under the menu bar at the top left, has now changed its color to red
         

1-1 A 6 Saving an HTML file in Notepad++ with the "Save" button

  1. in the menu bar of the second row, click the blue Save button to save the change you have just made to the file
  2. note that the red color of the icon in the third row, located just under the menu bar at the top left, has now changed back to blue
  3. note that the values in the left line number column represent line numbers. In this example, line 1 contains Welcome. Line 2 is a blank line.
         

1-1 A 7 Opening an HTML file in a browser

In the Exercises01 folder, use the left mouse button to double-click the HTML file you created previously to open it in a browser.

1-1 A 8 Opening an HTML file in Notepad++

  1. in the Exercises01 folder, right-click the HTML file you created previously
  2. in the context menu, click the Open with menu item
  3. in the submenu that opens, click Notepad++
         

1-1 A 9 Modifying an HTML file in Notepad++

  1. in the editing area, change the text to: Hello, Welcome.
  2. save the text with the Save button
  3. open the file in a brower to view the changed text


1-1 Orientation 6: Notepad++ for HTML files

Continue to use Notepad++ to create the HTML files for the following exercises.

1-1 Explanation 6: Naming and saving of the practice files

Unless otherwise specified, use the corresponding exercise number to save the HTML files you create for the exercises. Remember to leave out any spaces seen in the number.

1-1 A 10

  1. open the HTML file for the previous exercise in Notepad++
  2. change its content from: Welcome. to: Welcome. Welcome.
  3. save the HTML file with the number of this exercise without the blank spaces seen in the exercise number
  4. open the folder containing the HTML file
  5. double-click the file to open it in a browser


1-1 A 11 Discover

  1. open the HTML file for the previous exercise in Notepad++
  2. change the content of the previous file from:

    Welcome. Welcome.

    to:

    Welcome.
    Welcome.

  1. predict what you will see if you open the file in a browser
  2. write your prediction here:

  1. save the file with the name of this exercise without the blank spaces seen in the exercise number
  2. open the file in a browser to test your prediction.



































1-1 Example 8: <br>

To display Welcome. Welcome. in two lines, you need to write the following line into an HTML file:

Welcome<br>Welcome.

Here, <br> instructs the browser to break the line. A browser will, therefore, display the text like this:

Welcome.
Welcome.


1-1 Explanation 7: <br>

<br> breaks a line. Text following <br> continues in the next line when displayed in a browser.

1-1 Definition 5: Angle brackets

The less-than sign: < and the greater-than sign: > are also referred to as angle bracket.

1-1 Example 9: Angle brackets

In <br>, br is written in angle brackets.

1-1 Definition 6: Tag

A set of two angle brackets written as: <> is called a tag.

1-1 Definition 7: The break tag: <br>

This tag: <br> is called the break tag.

1-1 Example 10: The break tag: <br>

The break tag <br> breaks Welcome. Welcome. into 2 lines:

Code Browser display
Welcome. Welcome. Welcome. Welcome.
   
Welcome.<br>Welcome. Welcome.
Welcome.

1-1 A 12

  1. open the file of the previous exercise in Notepad++
  2. change its content from: Welcome. Welcome. to: Welcome.<br> Welcome.
  3. save it as an HTML file with the number of this exercise without its blank spaces seen in the exercise number
  4. double click the file to open it in a browser



































1-1 Example 11: Readability of code containing break tags

To break this line:

Welcome. Welcome.

into two lines:

Welcome.
Welcome.

use the break tag: Welcome.<br>Welcome.

For better readability, write the line after the break tag on a new line, like this:
Welcome.<br>
Welcome.


1-1 Explanation 8: Readability of code containing break tags

For better readability of code containing break tags, write any line after the break tag on a new line.

1-1 A 13

The previous exercise asked you to create a file with the following code:
Welcome.<br>Welcome.

For better readability, create a new file with the code written on two separate lines, as shown below:
Welcome.<br>
Welcome.

Save the file with the name of this exercise, without the blank spaces seen in the exercise number.


1-1 Orientation 7: Saving a new file as a blank file before writing code

Whenever you create a new HTML file in Notepad++, follow the steps outlined in the Creating an HTML File with Notepad++ exercise on this page. Always complete step 4: Saving a Blank File before writing any code. This step helps your code appear colored, making it easier to work with.

1-1 A 14

Use the break tag to create an HTML file that shows this text:

Welcome.
Welcome. Welcome.
Welcome. Welcome. Welcome.
Welcome. Welcome.



































1-1 Example 12: Saving files for exercises that include a name

The next exercise includes a name alongside its number. When saving the file you create for that exercise, name it by adding Cats_ to the beginning of the exercise's number without the spaces seen in the exercise number. Remember to include the underscore:

Cats_1-1A15.html

1-1 A 15 Cats

Create an HTML file that displays this content:

Cats like to play.
But they also like to sleep in the sunlight. They enjoy eating fish.
Can cats swim?


1-1 Explanation 9: Saving files for exercises that include a name

When saving the file you create for exercises including a name alongside their number, add the name to the beginning of the exercise's number, followed by an underscore:

name_number.html


1-1 B 1 Dogs

Create an HTML file that displays this content:

Dogs like to run. They also like to play with other dogs.
Sometimes they bark. They like to fetch sticks. Some dogs bark at strangers.
They like to chew on toys.


1-1 B 2 Birds

Create an HTML file that displays this content:

Birds like to sing. They are good at building nests.
Some can fly long distances. Some birds like to fly in groups.

Not all birds can fly.
But all birds hatch from eggs.


1-1 Definition 8: Opening tag: <>

A tag without a forward slash is called an opening tag: <>.

1-1 Definition 9: Closing tag: </>

A tag with a forward slash is called a closing tag: </>.

1-1 Definition 10: Tag pair

An opening tag and a closing tag are called a tag pair: <></>.

1-1 Example 13: Tag pair

This is an example of a tag pair: <p>Hello.</p>. It encloses text.

1-1 Explanation 10: Tag pair

A tag pair tells the browser how to display the text it encloses.

1-1 Example 14: Single tag

This is an example of a single tag: <br>

1-1 Definition 11: Single tag

A tag that stands on its own and does not need a closing tag is called a single tag.

1-1 Definition 12: Element

In HTML, a single tag or a tag pair is called an element.

1-1 Explanation 11: Single and paired tags

In HTML pages, most tags are paired; only a few are single.

1-1 Example 15: Element with text content

This example shows an element containing text content:          

1-1 Example 16: Elements without content

<p></p>

<br>

1-1 Explanation 12: Single tags and tag pairs

Elements are used to tell browsers how to display text.

1-1 Explanation 13: Exercises containing Discover in their name

If a name appears next to the exercise number, you should save your exercise file by adding that name to the exercise number. However, if the name is Discover, save the exercise without including that word.

1-1 A 16 Discover

  1. in Notepad++, create an HTML file with these lines:

    Welcome.<br>
    Welcome. Welcome.
    <p>Welcome. Welcome. Welcome.</p>
    Welcome. Welcome.

  1. open this file in a browser and explain what <p></p> does:





































1-1 Definition 13: The paragraph tag pair: <p></p>

This tag pair: <p></p> is called the paragraph tag pair.

1-1 Example 17: The paragraph tag pair: <p></p>

The following code:

This is a little text.
<p>The paragraph tag pair creates a blank space before and after this text.</p>
This is a little text.


will display this text in an HTML document:


This is a little text.

The paragraph tag pair adds a blank space before and after this text.

This is a little text.

1-1 Explanation 14: The paragraph tag pair: <p></p>

The paragraph tag pair creates a blank space before and after the text it contains.

1-1 Orientation 8: Including closing tags from the beginning

While you may only write a few lines of code and tag pairs now, as your code grows, it will become easier to overlook closing tags, especially when you start with an opening tag and continue adding text without writing the closing tag first. Follow these steps to build the habit of including closing tags from the beginning.

1-1 A 17 How to write a paragraph tag pair

Follow these steps to write a paragraph tag pair:

  1. start by writing two pairs of angle brackets: <><>
  2. add a forward slash to the second pair to create the closing tag: <></>
  3. insert the name of the tag pair into both the opening and closing tags: <p></p>
  4. place your text within the tag pair: <p>This is a short text.</p>


1-1 Example 18: How to write a paragraph tag pair

Use these 4 steps to write the paragraph tag pair:

  1. <><>
  2. <></>
  3. <p></p>
  4. <p>This is a short text.</p>

1-1 Explanation 15: How to write a tag pair - detailed steps

Follow these steps to write a tag pair:

  1. start by writing two pairs of angle brackets: <><>
  2. add a forward slash to the second pair to create the closing tag: <></>
  3. insert the name of the tag pair into both the opening and closing tags: <name letter></name letter>.
    While some tag names consist of several characters, for most cases, use a single letter to represent the tag name. Remember to place the forward slash in the closing tag.
  4. place your text within the tag pair: <name letter>Text here</name letter>
  5. if your text is short, write the opening and closing paragraph tags on the same line:
    <p>This is short text</p>
  6. if your text is long, place the opening and closing paragraph tags on separate lines, with the long text between them:
    <p>
           This is an extended piece of text that provides more detailed information.
    </p>
Remember to always write the tag pair first, and then insert your text between the tags.

1-1 Explanation 16: How to write a tag pair - basic steps

Follow these 4 steps to write a tag pair that contains text:

  1. <><>
  2. <></>
  3. <name></name>
  4. <name>Text.</name>

1-1 Example 19: The paragraph tag pair

To create an HTML document that displays this text:



This is a little text.

The paragraph tag pair adds a blank space before and after this text.

This is a little text.

 

use this code:

This is a little text.
<p>The paragraph tag pair inserts a space line before and after this text.</p>
This is a little text.


1-1 A 18

Using the break tag and the paragraph tag pair, create an HTML file that shows this text:

This is the first little text.
This is the second little text.

This is the third little text.

This is the last little text.



1-1 Explanation 17: The difference between <br> and <p></p>

The <br> tag causes the text after it to start on a new line.
The <p></p> tag pair also causes the enclosed text to start on a new line. But, unlike the <br> tag, it inserts a blank space both before and after the text.

1-1 B 3 Cats

Using the the paragraph tag pair: <p></p>, create an HTML file that shows this text:


Cats like to play.

But they also like to sleep in the sunlight. They enjoy eating fish.

Can cats swim?


1-1 Explanation 18: The word paragraph

In everyday language, the word paragraph usually refers to any section of text that starts on a new line. Such sections can be created with the <br> tag.

But in the term paragraph tag pair, the word paragraph has a different meaning. The section of text within this pair also starts on a new line, but includes a blank space before and after the section.


1-1 B 4 Dogs

Create an HTML file that shows this text:


Dogs like to run. They also like to play with other dogs.

Sometimes they bark. They like to fetch sticks. Some dogs bark at strangers.

They like to chew on toys.


1-1 B 5 Birds

Using the break tag: <br> along with the paragraph tag pair: <p></p>, create an HTML file that shows this text:


Birds like to sing. They are good a building nests.
Some can fly long distances. Some birds like to fly in groups.

Not all birds can fly.

But all birds hatch from eggs.


1-1 B 6 Music

Using the break tag: <br> along with the paragraph tag pair: <p></p>, create an HTML file with text about music. Include as many lines as needed.

1-1 B 7 Games

Using the break tag: <br> along with the paragraph tag pair: <p></p>, create an HTML file with text about games. Include as many lines as needed.

1-1 Explanation 19: Saving files for your own exercises

To save the files for your own exercises, add your one-word name to the beginning of the exercise's number, followed by an underscore:

with an underscore:

YourName_number.html


1-1 B 8 Your own HTML file

Using the break tag: <br> along with the paragraph tag pair: <p></p>, create an HTML file with any text you like. You can use these tags several times to organize your text and create as many lines as needed.

1-1 Explanation 20: The purpose of tag pairs

In web pages tag pairs are used to describe how content it is presented.

1-1 Example 20: Paragraph tag pair

Without paragraph tag pairs the following sentences will be displayed like this:
HTML pages have been designed with the help of experts so that they may be written in many different languages with different characters and can still be transported easily around the world without problems. This has already been accomplished several decades ago. International characters, such as those of the Arabic, Chinese, Japanese and other languages as well as text direction, punctuation and other world language characteristics can be displayed correctly. This support of diverse human languages within a document aids search engines finding content in these languages, assists in better text-to-speech conversion and helps with many other features.


With a paragraph tag pair <p></p> the sentences:
HTML pages have been designed with the help of experts so that they may be written in many different languages with different characters and can still be transported easily around the world without problems. This has already been accomplished several decades ago. <p>International characters, such as those of the Arabic, Chinese, Japanese and other languages as well as text direction, punctuation and other world language characteristics can be displayed correctly.</p>This support of diverse human languages within a document aids search engines finding content in these languages, assists in better text-to-speech conversion and helps with many other features.

the text will appear like this:
HTML pages have been designed with the help of experts so that they may be written in many different languages with different characters and can still be transported easily around the world without problems. This has already been accomplished several decades ago.

International characters, such as those of the Arabic, Chinese, Japanese and other languages as well as text direction, punctuation and other world language characteristics can be displayed correctly.

This support of diverse human languages within a document aids search engines finding content in these languages, assists in better text-to-speech conversion and helps with many other features.


The paragraph tag pair: <p></p> has added a blank space before and after the text it encloses.

1-1 A 19

Decide if the following statements are true or false.

 
Yes
No
 
This is a tag: <>
This is a tag pair: <><>
This is a closing tag: <>
A set of two angle brackets written like this: << or like this: >> is called tag pair.
This is a closing tag: </>
This is a tag pair: <></>
This is a paragraph tag pair: <p><p/>
This is an opening tag: </>
This is a paragraph tag pair: </p><p>
This is an opening tag: <>
This is a paragraph tag pair: <p></p>


1-1 Definition 14: Marked up content

Content enclosed with both an opening and a closing tag, as well as single tags, is called marked up content.

1-1 Example 21: Marked up content

Here, the second line is marked up content:

Welcome.
<p>Welcome.</p>
Welcome.

1-1 Definition 15: Hyper

Hyper comes from the ancient greek language and means over or above.

1-1 Definition 16: Hypertext

Text containing links to other texts or HTML pages is called hypertext.

1-1 Example 22: Hypertext

The following line is a hypertext:
This is a hypertext.
When clicked, it links to an HTML tutorial.


1-1 Orientation 9: Hypertext

Instructions for creating hypertext are described on page 17 of this workbook.

1-1 Definition 17: HTML

HTML stands for hypertext markup language.

1-1 Explanation 21: HTML

Text written in HTML is marked up with tag pairs or single tags and often contains hypertext.

1-1 Explanation 22: HTML

The previous explanation can also be written like this: Text written in HTML is marked up with elements and often contains hypertext.

1-1 A 20 Rereading the yellow sections

Now that you have gone through the exercises on this page, reread the yellow sections.

1-1 Orientation 10: Creating a web page

As you learn to create web pages, you will be guided to gradually develop a series of practice files. The series starts with StarfruitJuice01.html, and leads to the final file: StarfruitJuice15.html. You can view the final file here. The next exercise asks you to create the first file of the series.

1-1 Orientation 11: Naming of the starfruit juice files

For the exercises in this HTML workbook, you typically save files using the exercise number.
However, for the starfruit juice files, save them as follows: StarfruitJuice01.html for the first file, StarfruitJuice02.html for the second, and so on, up to StarfruitJuice15.html.
Remember to save these files in the StarfruitJuiceFiles folder you created previously.


1-1 A 21 StarfruitJuice01.html

  1. within the previously created StarfruitJuiceFiles folder, create this HTML file: StarfruitJuice01.html
  2. to view the file, open it in a browser


1-1 Submit 1: Study motivation

Click here.


This page was created by Hanspeter Amend
Table of contents

Solution proposals

 

1-1 A 14

Welcome.<br>
Welcome. Welcome.<br>
Welcome. Welcome. Welcome.<br>
Welcome. Welcome.

 

1-1 A 15

Cats like to play. <br>
But they also like to sleep in the sunlight. They enjoy eating fish. <br>
Can cats swim?

 

1-1 B 1

Dogs like to run. They also like to play with other dogs. <br>
Sometimes they bark. They like to fetch sticks. Some dogs bark at strangers.<br>
They like to chew on toys.

 

1-1 B 2

Birds like to sing. They are good at building nests. <br>
Some can fly long distances. Some birds like to fly in groups.<br>
<br>
Not all birds can fly. <br>
But all birds hatch from eggs.

 

1-1 A 18

This is the first little text.<br>
This is the second little text.
<p>This is the third little text.</p>
This is the last little text.

 

1-1 B 3

Cats like to play.
<p>But they also like to sleep in the sunlight. They enjoy eating fish. </p>
Can cats swim?

 

1-1 B 4

Dogs like to run. They also like to play with other dogs.
<p>Sometimes they bark. They like to fetch sticks. Some dogs bark at strangers.</p>
They like to chew on toys.

 

1-1 B 5

Birds like to sing. They are good a building nests. <br>
Some can fly long distances. Some birds like to fly in groups.
<p>Not all birds can fly.</p>
But all birds hatch from eggs.

 

1-1 A 21

The starfruit, also called carambola, is a sweet and sour fruit that is in the shape of a five-point star. The skin is edible and the flesh has a mild, sour flavor that makes it popular in a number of dishes. The starfruit is yellow or green in color. It comes in two main types: a smaller, sour variety and a larger, sweeter one.



This page was created by Hanspeter Amend Table of contents