Wednesday, May 16, 2012

Some Tags for You to Meet (P2PU Task)


On this task we were asked to spend sometime reading about HTML tags. Thanks to Mozilla's reference page (HTML Elements) this has been a breeze!

What I learned is this:



Div: Creates a division or portion within the page content


    <div>
        <h2>
        <p>Pineapple Mojito Process:</p>
        </h2>
    </div>



Blockquote: Use to indicate quotations used from other places. An URL from a diff page can be added to cite the actual quote origin.

 

  <p>Bringing tropical exciment to your taste buds</P>
  <blockquote cite="http://www.mojitos/recipes/pineapplemojitoprocess.us">
  <p>This is a quotation taken from the best mojito research site.</p>
  </blockquote>



Li: Creates a list of items through an "unordered or ordered list" as seen few lines below.

  

Ul: 
Displays unordered lists of items (ingredients list)

     <ul>
        <li>* 12 fresh mint leaves</li>
        <li>* 2 teaspoons sugar</li>
        <li>* 1 lime, quartered</li>
        <li>* Ice cubes</li>
        <li>* 4 tablespoons pineapple juice concentrate</li>
        <li>* 1/2 cup white rum</li>
        <li>* 1/2 cup club soda</li>
    </ul>  
      

Ol: Displays ordered list of elements (steps 1-2-3)

    

<ol>  
    <li>1 - Divide the mint, sugar, and lime wedges among 4 old-fashioned glasses.</li>
    <li>2 - Using a pestle (from a mortar and pestle) or the end of a wooden spoon, mash the mint, sugar, and lime together.</li>
    <li>3 - Add some ice</li>
    <li>4 - Top off with some pineapple juice concentrate, white rum, and club soda.</li>
    <li>5 - Swirl with a sugar cane stick and serve</li> 
</ol>  



Nav:
Defines the page navigation sections (Home, About Us, Contact Us)


    <nav>
      <ul>
         <li><a href="#">Home</a></li>
         <li><a href="#">Recipes</a></li>
         <li><a href="#">Contact</a></li>
      </ul>
    </nav>



Menu: Add extra control buttons to the page. .i.e. Print, Export to excel

<menu type="toolbar">
  <li>
    <menu label="File">
      <button type="button" onclick="print()">Print...</button>
      <button type="button" onclick="export()">Export...</button>
    </menu>
  </li>



Span: Inline container used for styling purposes

   <div>
        <h2>
        <p><span>Pineapple Mojito Process:</span></p>
        </h2>
    </div>



Time:
Element used to present accurate time stamps

    <p>This page was last updated on <time datetime="2012-05-16 15:40">May 16</time>.</p>




Q: Indicates that the text is a quotation

    <p>Hosted described their drinks as, <q>The best Pineapply Mojito ever!</q>.</p>



Img: Represents an image within the page

        <img src="mojito.jpg" alt="Pineapple Mojito" />

Notice the attribute "src" which indicates the source and "atl" an optional display text that describes the image

Thursday, May 10, 2012

Choose your weapon "Text Editor"

On this P2PU task we are asked to write a review on text editors.

The following reviews are based on a prior P2PU task that asked us to build a very simple page (about 14 lines of codes). I tried the same code on the following 3 editors:

Notepad:
Nothing is simpler than this tool. However, when working on complex pages you might find yourself spending too much time on tasks that could be easily done on other editors such as Dreamweaver.

Notepad++:
Great visual aid to review the code. I like the simplicity of saving the files in whatever format you need (you can do the same on notepad but this one seems more intuitive). As Notepad, this tool is free as well so I would say a good bet for beginners.

Dreamweaver:
I've been lucky to have access to Dreamweaver at work. I have to say that this would be my favorite tools. The split view is the best way to obtain immediate gratification.  However, its cost is a rough biting to the wallet.


I hope this can be helpful to any new P2PU students.

Peace!

View Your File in a Browser!

Making my way through the P2PU Webcraft class. Below is a pic of my new text editor and the first page created. 

 

Tuesday, May 8, 2012

Writing HTML By Hand!

Second task from the WebCraft class at P2PU

I had some help as you can see.



Monday, May 7, 2012

Curiosity killed the cat!

We do so much out of the web that would be silly not to try to understand how it's created, how it works and evolves. Where to start? HTML!

Hence my interest on the P2PU School of Webcraft.

Let's see where this ride will take us.

Peace!