Test Page - this is the long title

This is a page for testing styles, formatting, etc. This is the introduction section.

See also here for KB styling guidelines.

This is a note in the introduction. Often these introductory notes contain a list:
  • Lorem ipsum
  • More lorem ipsum
  • This is in bold.
  • This is in italics.
  • This is underlined.

This is the start of the main content section. Here is a hyperlink to an external site, and to another KB page. Font testing: 1 vs l. i vs l. “Abc”

*** This is heading 1 (not currently used)

*** This is heading 2 (not currently used)

*** This is heading 3 (not currently used)

This is heading 4 (START WITH THIS IN ARTICLES)

This is heading 5 (then use this for subheadings)
This is heading 6 (then use this for sub-subheadings)

For example:

H4 - Programming languages

H5 - C
H5 - Python
H6 - pip and virtualenv

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

42 = 16, ab = cd

This is a note.
This is a warning.
This is important.
This is a tip.

Also, notes/warnings/important/tips can all contain block elements within them, such as lists, code, and commands. For example:

To restore your system, follow these steps:

  1. Start SSH.
  2. Type the following command:
    magic-command --do-everything "option in quotes"
    save-my-server -h -v -f
  3. Compile the following code:

    if foo == bar:
        println("Yikes")
    
  4. Reboot.

Note that you should only follow the previous procedure if:

  • You are fluent in Akkadian.
  • The day of the week is Tuesday.
This is command-line text. For example:

cd ~ && mkdir foo
uptime
This is code text. For example:
if (x == 0)
    printf("Nothing\n");
else
    printf("Something\n");

The following is user input: type this to complete some task.

This sentence contains a variable where variable is something named at user discretion or is otherwise not knowable at article creation time. Currently variables are manually added (italicized, red color).

 

 

Adding a widget - this is a test procedure (H4)

 

This application is only available in Softaculous Premium. If you need further assistance, please open a ticket at http://my.a2hosting.com.

To add a widget, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. Here is an image. Note that in procedure steps, images are enclosed by <p></p>:

  3. In the Address to Forward text box, type the e-mail address that you want to forward. Here is some more text to make the line longer to see how it wraps around…
  4. Type this: User Input

    And this is a line of text in a procedure step after a manual line break (i.e., <br/>).

  5. Select a destination for the forwarded message:

    • This is a nested list within a list. We use these pretty frequently in the KB.
    • To forward the message to another address, type the e-mail address in the Forward to e-mail address text box.
    • To discard the message and send an error to the sender, click Discard with error to sender (at SMTP time). You can also optionally set the text for the error message that the sender receives.
  6. Another step.

    • Another nested list, followed by a block style (<pre class=“code”>):
      while ( 1 == 1 )
          run_forever();
      
  7. Another step.

    • Another nested list, followed by a block style (<pre class=“command”>):
      ls -l
      reboot
      
  8. Another step, this time with code and an important notice:

    /**
     * Function: scsi_init_io_hdr
     *
     * Parameters:
     * io_hdr:    Pointer to SCSI generic sg_io_hdr struct.
     *
     * Description: 
     * Initialize the specified sg_io_hdr struct with settings
     * common to all SCSI commands sent to the device.
     *
     * Return value: 
     * None
     */
    static inline void scsi_init_io_hdr(struct sg_io_hdr *io_hdr)
    {
        memset(io_hdr, 0, sizeof(struct sg_io_hdr));
    
        io_hdr->interface_id = 'S';    /* Per scsi/sg.h, this must always be set to 'S' */
        io_hdr->timeout = 1000;        /* In milliseconds */
    }
    
    We are not liable if you wipe your hard drive.
  9. Another step with an embedded table. Note that we currently have to copy/paste in the table HTML manually:

    Longer Than Usual Header Header Header
    Col1 Longer than usual data Col3
    Col1 Col2 Longer than usual data
    Col1 Col2 Col3
  10. Another step, with a hyperlink to this article.
  11. Click a button.
  12. Select a check box.
  13. Type in a text box.
  14. Select a radio button.
  15. Click a menu.
  16. Generic UI element.

Conditional branching

Use this when there is an optional path in a series of instructions. The hierarchy is:

Numbered list -> Bulleted list -> Lower Roman numeral list.

For example, follow these steps:

  1. Get cake and wine from mother.
  2. Put on your red hood and head towards the forest.
  3. Here be options. You can choose grandma's house or the big bad wolf:
    • If you chose Grandma's house, grab some milk and cookies.
    • Alternatively, to duke it out with the big bad wolf:
      1. Gather wolfbane and make a necklace.
      2. Slip a pair of scissors in your pocket.
      3. Load your basket with stones.
      4. Enter the forest.
  4. If neither the milk and cookies nor the wolf killed you, be home by supper.

Embedded video

Some articles contain embedded videos. Currently this is just a manual HTML copy/paste exercise to get them in there. For example:

URL tests

URLs to various types of locations:

This is an EE structure link.

This is a link to another A2 page not in EE.

Scratch area

Lorem ipsum 

This is an external link.

This is me testing the space.

This is another scratch area with a title I created.

This is a testing to EE , hopefully all goes well

This is a testing to EE , hopefully all goes well

<html> 
<body> 
<ul><li> ddddd</li></ul>
</body>
</html>
  • One
  • Two 
  • Three
  1. one
    • one one
    • one two
    • one three
  2. two 
  3. three
  4. Link to x

Frame test

We don't really use iframes to display content from other sites, with the notable exception of embedded videos. This is more of a generic rendering test:


More Information

This is the “More Information” section. For more information, please visit linux.org.

Some More Info sections use bulleted lists:

Article Details

  • Operating System: Linux HostingWindows Hosting
  • Control Panel: cPanelPlesk
  • Product: Shared Hosting Turbo Web HostingCore VPS
  • Level: Intermediate

Other Articles in This Category

Show More

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

 

 

Loading