Pages

28 Okt 2010

LEARNING HTML

HTML is required primarily to make the web interface, PHP to add the ability to interact with visitors and the ability to store data will be supported by MySQL. Complete has everything. But of course, web programming is not just limited to these. In addition to learning HTML, PHP and MySQL, of course you can also learn another scripting language which will further beautify the look of your website and facilitate the process of web design you like CSS and Javascript. You also may need to increase your skills in creating web design web maker view a variety of applications such as Dreamweaver and FrontPage as well as learning image processing applications such as Fireworks and Adobe.Tetapi for now we will concentrate on learning material on which all their HTML web programming.Although you have mastered a variety of applications that simplify web design, but however in the end you still will need the ability to perform hands-on programming manual alias to perform various tuning in your program.
Introduction to HTML
What is HTML file?
- HTML is short for Hyper Text Markup Language
- An HTML file is a text file containing markup tags
- Markup tags tell the browser how to display a page
- HTML file must have the extension htm or html
- HTML files can be created using a plain text editor you use.
Want to Make tried it?Begin by opening Notepad (on Windows XP for those who have never click on Start, Programs, Accessories, Notepad).Type the following text:
<html><head><title> Title Page </ title></ Head><body>This is my first page. <b> text is bold </ b></ Body></ Html>
Save with the name "halamanku.htm" (do not forget to add double quotes in the name of the file. If you forget the name of the file will use the default extension. Txt to become halamanku.htm.txt).Open your browser (eg Internet Explorer). Kilk File, Open, Browse and select the search that had halamanku.htm files you make. Click OK, and the browser will display the page you created earlier.
Each tag flanked by sign smaller and larger. You can see that the first tag is <html>. HTML tags are usually always have a partner who has the same tag with a little extra slash "/", and you can see a couple of <html> at the end of the script tag is </ html>.<html> Tag tells the browser that this is the beginning of an HTML document. Tag a partner that is </ html> states that this is the end of the HTML document.The text between <head> and </ head> is the text of the header information. Header information is not displayed on the browser window.The text between <title> is the title of your document. This title will be displayed in the caption browser (see at the top right of your browser.)The text between the tags <body> is the text that will appear in your browser window.And lastly, the text between <b> and </ b> will be shown in bold.Now, with this explanation you have started mustinya nodded and felt, was to learn HTML easily ko yah gini J. Hopefully.Now we'll see about the extension. As already submitted in the beginning, we can create an HTML file with 2 extensions ie. Htm and. Html. Now extensions. Htm is intended for the operating system of the past which only supports 3-letter extension. While the extension. Html would be safer to use if the OS and application support as more clearly shown that this is an HTML file.For the record, each one of you make changes to your HTML file, then you must refresh your browser to see changes in how it looks.
Remember this important clue: The HTML document is a text file consisting of HTML elements. Well, the HTML element that is defined using the so-called HTML tags.
The following points will help you remember and understand definition HTML tags:- HTML tag used to mark (a mark-up) HTML elements- HTML tags are in the two characters <and>- The surrounding characters are called angle brackets- HTML tags are usually always in pairs like <b> and </ b>- The first tag is the opening tag, and the second tag is a closing tag- The text between these two tags is the element content- HTML tags are not case sensitive, <b> have the same meaning as <B>HTML Elements
Remember the HTML example from the previous page:
<html><head><title> Title Page </ title></ Head><body>This is my first page. <b> text is bold </ b></ Body></ Html>
This is an HTML element:
<b> text is bold </ b>
This HTML element starts with the opening tag: <b>The contents of the HTML element is: This text is boldThe HTML element ends with a closing tag: </ b>The function tag <b> is to define an HTML element that should be shown in bold.
Well, this is also an HTML element:
<body>This is my first page. <b> text is bold </ b></ Body>
This HTML element starts with the tag <body>, and ends with the closing </ body>The function of the tag <body> is to define the HTML element that contains the body (content) of an HTML document.Why do we use the tags in lowercase?
We have just said that HTML tags are not case sensitive: <B> have the same meaning with <b>. If you surf the Web, you'll see that many web sites use uppercase HTML tags in the source code. But in the example above, we use lowercase letters. Know why?
If you follow the latest web standards, you should always use lowercase tags. World Wide Web Consortium (W3C) recommends the use of lowercase letters in their HTML 4 recommendation, and XHTML (the next generation of HTML) require a tag in lowercase.
Ok, you've just learned about HTML elements. And mustinya now you've got used to the term tag. If you do not familiarize yourself with this term, because in the process of learning HTML, you must be familiar with word tags. Lha wong HTML tags so that ko.Next, we will discuss about some basic HTML TAG especially interesting to change the look of paragraphs, headings, etc..
The most important HTML tags are the tags that define headings, paragraphs and change the line.Like most other programming languages, the best way to learn HTML is to a lot of practice. Exercise, of course, require a tool. Well, basically you can make an HTML file using notepad, but of course a lot of software to write with various facilities that make it easy. Googling aja or search on download.com with keyword HTML Editor..

0 Comment:

Posting Komentar