Friday, March 25, 2011

kas-CASCADING Style Sheet (CSS)

CSS or CASCADING STYLE SHEET is used to style multiple web pages in one time. It is helpful because you don't have to repeat the tags in HTML, it just saves time and energy because once you apply a CSS, it is applicable to all web pages that you made.

An id and clas selector in CSS let you define a specific style for your chosen HTML tag. It goes like this:

#para1
{
text-align:center;
color:red;
}

The id selector  uses the id attribute of the HTML element, # and the id of the element is the word "para1" which distinguishes it from other elements in the HTML.

Another thing that's essential in CSS is the class selector.

According to www.w3school.com,
"The class selector is used to specify a style for a group of elements. Unlike the id selector, the class selector is most often used on several elements.
This allows you to set a particular style for any HTML elements with the same class.
The class selector uses the HTML class attribute, and is defined with a "."
In the example below, all HTML elements with class="center" will be center-aligned:

.center {text-align:center;} 

You can learn more from CSS if you'll log in to the said website becasue they offer tutorials. For now, i need more practice to make a perfect design for the web page. I admit that i learned a little bit from our discussion. Hehehe. Thank you for reading my blogs. I really appreciate it. ::))

HTML -- FORMS

Making an HTML forms is not an easy task. It needs patience to make a perfect HTML forms. 

According to www.w3school.com :

"HTML forms are used to pass data to a server.
A form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label elements."

An input element is essential in making forms, because it vary in the attribute that you enter/chose in establishing a form. One of the input element is the Text Field, it enables the user to enter text within a given space/area. The input tag is like this:

<form>
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>

Another element that i learned from our discussion is the RADIO BUTTONS, this element allows the user to choose only one choice from different choices given, it is like this:
<form>
<input type="radio" name="sex" value="male" /> Male<br />
<input type="radio" name="sex" value="female" /> Female
</form> 

There's a lot of input elements but it'll take a long time for me to discuss it all. just visit this website, http://www.w3schools.com/html/html_forms.asp to learn more! :)))

HTML... HTML... HTML -- a fun way to make a website page! :)


HTML or Hyper-text Mark Up language is one of our lessons that I learned in our laboratory session in CMSC2. It helped us to make website pages that we seen in our facebook accounts and other social networking sites. A tutorial about HTML , www.w3school.com, teaches to make a website using its tags. I learned a lot of tag in this tutorial. The four important tags in HTML are : <html></html>, <title></title>, <head></head>,<body></body> and this is the fundamental structure of an HTML web page.
Other tags used in HTML are the following:
 <br />  for making a line break in your sentences
<p></p> for making a paragraph
<b></b> to highlight /bold the text of your sentences
<strong></strong>, <em></em>,<i></i>  to bold, emphasize and italicized your texts respectively.  The tags used in HTML should always have a end tag</> which designates that the tags are effective for it to be seen in the output of the web page.

Learning HTML is fun. It let me introduce to the world of web designing and create a beautiful web pages. Ilearned a lot. :)