Translated by Google Translate

HTML Basic Part 2



Meet Again ! as Usual This is R1O as the guest Author. I will continue explain the part from the first tutorial in this HTML Series. If you have not yet read the first tutorial i suggest you to read the first one otherwise you will get lost. Trust me ...
So far we have write this code in our text editor
<!doctype>
<html>
</html>
And the last discussion we talk about tag. So now just add the <head> tag opening and closing in the <html> area in your text editor. Like the example below.
<!doctype>
<html>
<head>
</head>
</html>
Now, What is the tag <head> is use for ?
The tag <head> is use for processing advance programming stuff like javascript, PHP, and etc..
Just remember this “ all the cool stuff that you look at the website is processing at here “ the <head> tag “ “.
Allright now we gonna add <title> tag. write this code below on your text editor. And save it. Remember the format of the save file is .html
<!doctype>
<html>
<head>
<title>

</title>

</head>
</html>
<title> tag what’s that?
The <title> tag is use for make title or description on the browser tab.
So now try add the title or description. Type this code on your text editor and save it.
<!doctype>
<html>
<head>
<title>
                My site
</title>

</head>
</html>
It should look like this in your web browser , in this case i use internet explorer:

TITLE TAG

Now your website has a title ! yeah ...
you can change the name as you like this is only the example.


Now let’s jump to the <body> tag. Write the code as seen on below:
<!doctype>
<html>
<head>
<title>
                My site
</title>
<body>
</body>

</head>
</html>

<body> tag ?
<body> tag is use for make the appereance in the web. If you see the website paragraph or picture it’s written this section the <body> tag. I show you the picture so you can get the clearer picture:

BODY TAG

You see the white space is called the <body> area. Where the upper left is starting point to positioning things in the website. Is like the cartesius diagram that we learn from school in mathematic subject. The difference is the starting point instead from the middle in website is start from the upper left.

BODY TAG
That’s for today. We gonna cover how to add somes stuff in  the <body> tag in the next tutorial. So stay tune !


Read More Add your Comment


HTML Basic Part 1



HTML BASIC
 Yo folks back again this time with me as a guest writer R1O. Today i’m Gonna Share about how to design a website From the very basic. Do you ever wonder what website is consist of? Well no need to wonder again cause i’m gonna tell ya. Website Is consist of HTML, CSS, JAVASCRIPT, PHP or even you want to make more dynamic you can add Flash and HTML5 Element. This time I’m just want to share about HTML because that i’ve learn so far.

What the heck is HTML ?

HTML Stand for Hyper Text Markup Language. This is the language that computer understand and this is also the backbone of a website.

How Do i Start writing the HTML ?

You can code it on text editor for example : notepad++, Sublime, or the very basic and stunningly beautiful is the notepad from Windows. (belum di link)
Download It first Just click on the example i suggest using notepad++ and install in your damn PC

Ok, what’s next?

Type exactly same as below. .  .
<!doctype>
<html>
</html>
Just Type like that i explain later... and save as .html for example: index.html (you can add the as you like, index html is the common one.

Ok, now what the heck is <!doctype> and <html> </html> ?

The code <!doctype> is the declaration Tag statement and it must be at the top of the HTML File. It means you tell the browser that this is for code in HTML or HTML5. The <html> is the opening tag and the </html> is closing tag. This is the rule of making HTML you must type that two things first.

What is tag?

In HTML language Tag is the code and it wrap the word in <> for example <head> and tag <head> is the opening tag and it have closing tag to it looks like this </head>. The closing tag has the / before the word. Note not all the tag have closing tag for example the <br /> it close on just one line. I explain the tag that i just wrote later in the next tutorial.



Read More Add your Comment 0 comments


HTML for Beginners, Knowing Forms (Web Design)




In the recent web design tutorial we have learnt first HTML How To Make Table and now we will learn about Forms in HTML. What is form?? Maybe you ever seen a form in real life, such at psycho test or collage registration. And for example look at a simple psycho test form below.
Picture 1. Registration Form
The registration form in picture 2 is use for collecting data from the registers. Same as picture 2 the form in website is use for collecting data that inputed from form. This is closely related with PHP and Database. So, because the function of form is use for inputing data then to create an HTML form we can use <input> tag.
<form>
input elements
</form>
In picture 2 there are option to identify the participant, like Mr., Mrs., or Ms. and the value for inputed is not charracter but check symbol. In HTML we can use checkboxes element. There are many elements in HTML form, the most common input types are described below :

Text Fields
Text Field is the most frequently used elements.
<form>
First name: <input type="text" name="firstname"><br>
Last name: <input type="text" name="lastname">
</form>
And this the HTML code above looks in browser:

First name:
Last name:

Password Field
<input type="password"> defines a password field:
<form>
Password: <input type="password" name="pwd">
</form>
And how it looks like in browser
Password:
The character in passfield are masked (shown as asterisks or circle)

Radio Buttons
<input type="radio"> defines a radio button. Radio buttons let a user select ONLY ONE of a limited number of choices:
<form>
<input type="radio" name="option" value="Yes">Yes<br>
<input type="radio" name="option" value="No">No
</form>
And how it looks like in browser
Yes
No
Checkboxes
<input type="checkbox"> Let a user choose more then on option.
<form>
<input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
<input type="checkbox" name="vehicle" value="Car">I have a car 
</form>
And how it looks like in browser
I have a bike
I have a car
Submit Button
Submit button is used to send data to the server, data sent to the specified form action
<form name="input" action="http://apps.webdev777.com/code/sentmail.php" method="get">Email: <input type="text" name="user"><input type="submit" value="Submit"></form>
How it looks like in browser
Email:

If you type your email in the field above and click "Submit" button, you will receive an email from herman@webdev777.com


Read More Add your Comment


HTML for Beginners, How Table Make Layout (Web Design)




Many people says that HTML stands for Hyper Text Markup Language. But I have my own stands for HTML. In my experience when I begn autodidactiong HTML I learn how to make the layout. And I find the simple way to design the layout is using table tags. If you looking the web layout without fill (color and picture), you will got it. Look at the table below :

Table 1.  6 colomn and 8 rows
1/A B C D E F
2
3
4
5
6
7
8


The picture 1 shows the simple table that has 6 colomns and 8 rows. Let's make a little changing. Look at the table 2 below.

Table 2. Modify from Table 1
HEADER
LEFT SIDEBAR

In table 2, I merge all cells in the first row, so I name it Header. And then I merge 2 colomn (A, B) from second row until last row (2 - 8) and I name it Left Sidebar. After here we have build a simple layout from changing the table.

Now we try fill that table with color. Look at the table 3 below for the result

Table 3. Fill the color the table 2
HEADER
LEFT SIDEBAR
In Header I fill that with Rubber Ducky Yellow color, and In the Left Sidebar I fill that with Yellow. After here we have built a simple HTML Website. Try to modified this table with your own style. For source code you can copy the code below:

<table>
<tbody>
<tr>
<td><table align="center" border="1">
<tbody>
<tr>
<td height="40" style="text-align: center;" width="70">1/A</td>
<td height="40" style="text-align: center;" width="70">B</td>
<td height="40" style="text-align: center;" width="70">C</td>
<td height="40" style="text-align: center;" width="70">D</td>
<td height="40" style="text-align: center;" width="70">E</td>
<td height="40" style="text-align: center;" width="70">F</td>
</tr>
<tr>
<td height="40" style="text-align: center;" width="70">2</td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"><br /></td>
</tr>
<tr>
<td height="40" style="text-align: center;" width="70">3</td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" style="text-align: center;" width="70">4</td>
<td height="40" width="70"><br /></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" style="text-align: center;" width="70">5</td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" style="text-align: center;" width="70">6</td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" style="text-align: center;" width="70">7</td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"><div style="text-align: center;">
8</div>
</td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"><br /></td></tr>
</tbody></table>
Code 1 for table 1

<table align="center" border="1">
<tbody>
<tr>
<td colspan="7" height="40" style="text-align: center;">HEADER</td>
</tr>
<tr>
<td colspan="2" rowspan="7" style="text-align: center;" width="140">LEFT SIDEBAR</td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
</tbody></table>
Code 2 for table 2


<table align="center" border="1">
<tbody>
<tr>
<td bgcolor="#ffd801" colspan="7" height="40" style="text-align: center;">HEADER</td>
</tr>
<tr>
<td bgcolor="ffff00" colspan="2" rowspan="7" style="text-align: center;" width="140">LEFT SIDEBAR</td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
<tr>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
<td height="40" width="70"></td>
</tr>
</tbody></table>
Code 3 for table 3


Read More Add your Comment


 

©2013 @namakuherman | Developed by Herman Creative Industry