Minggu, 14 Oktober 2012


HTML Tag

Example:
Isolate the usernames from the surrounding text-direction settings:


  • User hrefs: 60 points

  • User jdoe: 80 points

  • User إيان: 90 points


tag is currently supported only in Firefox and Chrome

Definitioen and Usage

bdi stands for Bi-directional Isolation

The bdi stands for Bi-directional Isolation
This elemen is useful when embedding user-generated content with an unknown directionality


tag is new in HTML5

Global Attributes


tag also supports the Global Attributes in HTML

# HTML attributes give elements meaning and context
The global attributes below can be used on any HTML element.

AttributeDescription
accesskeySpecifies a shortcut key to activate/focus an element
classSpecifies one or more classnames for an element (refers to a class in a style sheet)
contenteditableNewSpecifies whether the content of an element is editable or not
contextmenuNewSpecifies a context menu for an element. The context menu appears when a user right-clicks on the element
dirSpecifies the text direction for the content in an element
draggableNewSpecifies whether an element is draggable or not
dropzoneNewSpecifies whether the dragged data is copied, moved, or linked, when dropped
hiddenNewSpecifies that an element is not yet, or is no longer, relevant
idSpecifies a unique id for an element
langSpecifies the language of the element's content
spellcheckNewSpecifies whether the element is to have its spelling and grammar checked or not
styleSpecifies an inline CSS style for an element
tabindexSpecifies the tabbing order of an element
titleSpecifies extra information about an element

Event Attributes

# HTML 4 added the ability tolet event trigger actions in a browser, like starting a Java script when a user click on an element

Window Even Attributes
AttributeValueDescription
onafterprintNewscriptScript to be run after the document is printed
onbeforeprintNewscriptScript to be run before the document is printed
onbeforeunloadNewscriptScript to be run before the document is unloaded
onerrorNewscriptScript to be run when an error occur
onhaschangeNewscriptScript to be run when the document has changed
onloadscriptFires after the page is finished loading
onmessageNewscriptScript to be run when the message is triggered
onofflineNewscriptScript to be run when the document goes offline
ononlineNewscriptScript to be run when the document comes online
onpagehideNewscriptScript to be run when the window is hidden
onpageshowNewscriptScript to be run when the window becomes visible
onpopstateNewscriptScript to be run when the window's history changes
onredoNewscriptScript to be run when the document performs a redo
onresizeNewscriptFires when the browser window is resized
onstorageNewscriptScript to be run when a Web Storage area is updated
onundoNewscriptScript to be run when the document performs an undo
onunloadscriptFires once a page has unloaded (or the browser window has been closed)


Form Events

Events triggered by actions inside a HTML form (applies to almost all HTML elements, but is most used in form elements):

AttributeValueDescription
onblurscript Fires the moment that the element loses focus
onchangescriptFires the moment when the value of the element is changed
oncontextmenuNewscript Script to be run when a context menu is triggered
onfocusscript Fires the moment when the element gets focus
onformchangeNewscript Script to be run when a form changes
onforminputNewscript Script to be run when a form gets user input
oninputNewscript Script to be run when an element gets user input
oninvalidNewscript Script to be run when an element is invalid
onresetscript Fires when the Reset button in a form is clicked
Not supported in HTML5
onselectscript Fires after some text has been selected in an element
onsubmitscriptFires when a form is submitted


Keyboard Events

AttributeValueDescription
onkeydownscript Fires when a user is pressing a key
onkeypressscript Fires when a user presses a key
onkeyupscript Fires when a user releases a key

Mouse Events
Event triggered by a moused, or similar user actions:
AttributeValueDescription
onclickscript Fires on a mouse click on the element
ondblclickscript Fires on a mouse double-click on the element
ondragNewscript Script to be run when an element is dragged
ondragendNewscript Script to be run at the end of a drag operation
ondragenterNewscript Script to be run when an element has been dragged to a valid drop target
ondragleaveNewscript Script to be run when an element leaves a valid drop target
ondragoverNewscript Script to be run when an element is being dragged over a valid drop target
ondragstartNewscript Script to be run at the start of a drag operation
ondropNewscript Script to be run when dragged element is being dropped
onmousedownscript Fires when a mouse button is pressed down on an element
onmousemovescript Fires when the mouse pointer moves over an element
onmouseoutscriptFires when the mouse pointer moves out of an element
onmouseoverscriptFires when the mouse pointer moves over an element
onmouseupscript Fires when a mouse button is released over an element
onmousewheelNewscript Script to be run when the mouse wheel is being rotated
onscrollNewscript Script to be run when an element's scrollbar is being scrolled

Media Events
Event triggered by medias like videos, image and audio (applies to all HTML elements but is most common in media elements, like

AttributeValueDescription
onabortscript Script to be run on abort
oncanplayNewscriptScript to be run when a file is ready to start playing (when it has buffered enough to begin)
oncanplaythroughNewscriptScript to be run when a file can be played all the way to the end without pausing for buffering
ondurationchangeNewscript Script to be run when the length of the media changes
onemptiedNewscript Script to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)
onendedNewscript Script to be run when the media has reach the end (a useful event for messages like "thanks for listening")
onerrorNewscript Script to be run when an error occurs when the file is being loaded
onloadeddataNewscriptScript to be run when media data is loaded
onloadedmetadataNewscriptScript to be run when meta data (like dimensions and duration) are loaded
onloadstartNewscriptScript to be run just as the file begins to load before anything is actually loaded
onpauseNewscript Script to be run when the media is paused either by the user or programmatically
onplayNewscript Script to be run when the media is ready to start playing
onplayingNewscript Script to be run when the media actually has started playing
onprogressNewscript Script to be run when the browser is in the process of getting the media data
onratechangeNewscript Script to be run each time the playback rate changes (like when a user switches to a slow motion or fast forward mode)
onreadystatechangeNewscript Script to be run each time the ready state changes (the ready state tracks the state of the media data)
onseekedNewscript Script to be run when the seeking attribute is set to false indicating that seeking has ended
onseekingNewscript Script to be run when the seeking attribute is set to true indicating that seeking is active
onstalledNewscript Script to be run when the browser is unable to fetch the media data for whatever reason
onsuspendNewscriptScript to be run when fetching the media data is stopped before it is completely loaded for whatever reason
ontimeupdateNewscriptScript to be run when the playing position has changed (like when the user fast forwards to a different point in the media)
onvolumechangeNewscriptScript to be run each time the volume is changed which (includes setting the volume to "mute")
onwaitingNewscriptScript to be run when the media has paused but is expected to resume (like when the media pauses to buffer more data)

Nama Kelompok:
1. Angga Wahyu Wibowo   (A11.2010.05399)
2. Rohmatulloh M.I.            (A11.2010.05406)

Pemrograman WEB Dasar
Kelompok A11.4511

Rabu, 19 September 2012

Tutorial Membuat Web bagi Pemula

Bagi anda yang masih pemula ingin belajar membuat website,, kami sediakan tutorialnya yang mudah dipahami oleh Anda sekaliaan.

Berikut langkah-langkahnya untuk membuat web:

1. buka browser (Google Chrome/Firefox) lalu buka halaman berikut ini:
    http://api.idhostinger.com/redir/98518 atau klik gambar ini:

Hosting Gratis


2. Setelah itu, klik "Order sekarang" atau "Buat Akun"

cara membuat website idhostinger-order

3. Masukan data diri Anda dengan benar, lalu klik "Buat Akun".


4. Sekarang Anda diminta untuk konfirmasi email.
5. Silahkan buka email yang Anda gunakan untuk mendaftar tadi, lalu klik kode konfirmasi yang telah dikirimkan.

Hostinger Indonesia info@idhostinger.com
Halo xxxx,
Terimakasih telah bergabung dengan kami.Silahkan klik link dibawah ini untuk melaukan aktivasi akun Anda:
http://cpanel.idhostinger.com/auth/confirm/hash/xxxxxx
Terimakasih


6. Pendaftaran berhasil, sekarang masukan nama website yang akan kita buat, misalkan www. topinfo.16mb.com dan lengkapi data dibawahnya, kemudian klik "Buat"

cara membuat website idhostinger-success



 7. Akan muncul proses pembuatan akun website,tunggu sampai selesai dan statusnya menjadi Akun Aktif (sekitar 5 menit)

  
8. Jika sudah "Akun Aktif ", cek dengan mengakses alamat website Anda tadi di browser, maka akan muncul gambar berikut ini:
  cara membuat website idhostinger-site-running 
"Your website is up and running!", artinya website anda sudah jadi dan sudah berjalan.   

9. Tahap selanjutnya ialah instalasi script/software website.Kemabali ke halaman idhiostinger klik "Kontrol Panel" lalu pilih website Anda kemudian tekan "Beralih" (Switch)

  cara membuat website idhostinger-switch-account  

10. Setelah masuk "Kontrol Panel", cari di bagian "Website" dan klik "Penginstall Otomatis"(Auto Installer)  
cara membuat website idhostinger-auto-installer

11.Kemudian silahkan pilih salah satu script/sofware yang di sediakan, misalnya WordPress.Klik "Install WordPress",lalu masukkan user dan password untuk login website
cara membuat website idhostinger-klik-install
cara membuat website idhostinger-install-wordpress
# Kotak pertama biarkan kosong.Artinya anda akan menggunakan main folder (root     situs) sebagai tempat installasi wordpress.
# Kotak kedua isi dengan nama akun admin situs anda sesuai selera.Ini adalah username yang akan digunakan untuk login bagian backend situs wordpress anda yakni ketika anda akan posting, membalas komentar dll  
# Kotak ketiga isi password sesuai selera 

12. Jika muncul pertanyaan, klik saja "OK". 
13. Tunggu proses instalasi website sampai selesai (sekitar 10 detik saja).
14. Setelah http://www.blogger.com/blogger.g?blogID=4699080021751230#editor/target=post;postID=8527361937649742005 instalasi selesai, maka akan muncul data-data website Anda. Silahkan ini di catat untul login ke website Anda.

cara membuat website idhostinger-web-info


15. Website Anda sudah jadi, silahkan buka "URL instalasi" untuk melihat website dan "URL Login" untuk login dan mengatur website.  
16. Selanjutnya Anda tinggal mengatur beberapa settingan tampilanwebsite Anda agar lebih menarik.Jangan lupa juga untuk menambahkan beberapa artikel agar web tidak terlihat kosongtanpa ada berita. Untuk langkah-langkahnya silahkan baca artikel "Update" dibawah ini.
 17. Setelah semuanya siap jangan lupa daftarkan website Anda ke mesin pencari seperti Google,Yahoo dll serta sering2 promosi dan submit artikel ke berbagai jejaring sosial bookmark agar banyak pengunjung. Caranya silahkan baca ke sini
Selamat mencoba,
Semoga bemanfaat