Say you're coding HTML in Sublime Text & you want to check how it looks in a browser. Some text editors (BBEdit, for instance) have a feature that lets you open your page in a browser, but Sublime Text does not. Here's how to do it in Sublime Text. Show
Install a browser selection toolSince you're a web developer, you're going to (a) have more than one web browser on your computer, & (b) want to test your work in more than one browser. To make your life easier, you need to install a browser selection tool. In my my book, Mac OS X Snow Leopard for Power Users, I explained it this way:
With a browser selection tool, you can! Here are my recommendations:
Install them, configure them to recognize the web browsers on your computer (Firefox, Chrome, Opera, Safari, & IE if you use Windows), & set them as the default web browser on your computer. How you do that depends upon your OS:
Method 1: Install the View In Browser pluginThis is the easiest method, but I couldn't get it to work on my Mac. Note that I'm assuming you've installed the Package Control extension for Sublime Text.
Now when you have a web page open in Sublime Text, just press Ctrl-Alt-V & your browser selection tool should open, letting you choose which browser to open. You can read more about the View In Browser package at GitHub. Method 2: Create a Build SystemThis is slightly more work, but you also get more control.
Now when you want to preview your work in Sublime Text in a web browser, do one of the following:
Your browser selection tool should open, allowing to choose the browser in which you want to see your webpage. You can learn more about Build Systems on Sublime Text at http://www.sublimetext.com/docs/build. Belajar HTML Part 4: Cara Menjalankan File HTML Halo Kawan-kawan Setelah menyiapakan Web Browser dan Text Editor, sekarang kita siap membuat dan menjalankan file HTML dari web browser. Berikut langkah-lagkahnya:
Dari percobaan ini kita dapat melihat bahwa setiap halaman HTML harus diakhiri dengan ekstensi .html. Sampai disini, kita sudah membuat file HTML pertama kita dan menjalankannya. Pada tutorial selanjutnya, kita akan mulai mempelajari kode-kode HTML, yakni Pengertian tag, elemen, dan atribut dalam HTML. Belajar HTML Secara Lengkap Disini: Bagaimana cara menjalankan HTML dalam Notepad?Masukkan judul dokumen. Tikkan <!DOCTYPE html> pada Notepad++, kemudian tekan tombol ↵ Enter . Tambahkan penanda "html". Tikkan <html> pada Notepad++ dan tekan tombol ↵ Enter .
Bagaimana cara membuat file HTML?Persiapan.. Membuat dokumen file HTML.. Langkah 1: buka notepad.. Langkah 2: menulis tag HTML.. Langkah3: Simpan file HTML.. Langkah 4: buka file HTML dengan browser.. Daftar ringkasan.. Software apa saja yang diperlukan untuk membuat file HTML?19 HTML Editor Terbaik yang Layak Anda Coba. Notepad++. 2. Atom.. 3. Brackets.. 4. Sublime Text.. Light Table.. 6. Bluefish.. 7. Aptana Studio.. 8. CoffeeCup.. Bagaimana cara membuat html di hp?4 Langkah Cara Membuat Website Dengan HTML Di Android:. Install Acode dari Playstore.. Buat Path untuk Folder Koding HTML.. Pindahkan Source Code HTML CSS ke Android.. Selesai.. |