Heading Tags

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page        

Answer:

You did make it a nice title, didn't you?

Heading Tags

TagsFunction
<h1>Your Heading </h1>Level 1 Heading
(Most Important)
<h2>Your Heading </h2>Level 2 Heading
<h3>Your Heading </h3>Level 3 Heading
<h4>Your Heading </h4>Level 4 Heading
<h5>Your Heading </h5>Level 5 Heading
<h6>Your Heading </h6>Level 6 Heading
(Least Important)

The body of a Web page contains the content: the paragraphs, applets, graphics, tables, and other objects. Headings can be placed in the Web page. The table shows the tags used for this.

The words "Heading Tags" on this page are a heading. How a heading is displayed is determined by the browser and by the choices the user has made in the View menu (Microsoft Internet Explorer).

Level 1 headings are used to give a title to important sections of text. Less important text is given level 2 headings, and so on.

 



QUESTION 8:

Can you have more than one level 1 heading on a page?