Wikibooks
viwikibooks
https://vi.wikibooks.org/wiki/Trang_Ch%C3%ADnh
MediaWiki 1.47.0-wmf.24
first-letter
Phương tiện
Đặc biệt
Thảo luận
Thành viên
Thảo luận Thành viên
Wikibooks
Thảo luận Wikibooks
Tập tin
Thảo luận Tập tin
MediaWiki
Thảo luận MediaWiki
Bản mẫu
Thảo luận Bản mẫu
Trợ giúp
Thảo luận Trợ giúp
Thể loại
Thảo luận Thể loại
Chủ đề
Thảo luận Chủ đề
Trẻ em
Thảo luận Trẻ em
Nấu ăn
Thảo luận Nấu ăn
TimedText
TimedText talk
Mô đun
Thảo luận Mô đun
Sự kiện
Thảo luận Sự kiện
Sách HTML
0
13142
543514
543479
2026-10-13T15:10:58Z
~2026-55000-54
19785
543514
wikitext
text/x-wiki
[[HTML]] viết tắt của '''Hyper Text Markup Language''' một ngôn ngữ lập trình trang mạng dùng để soạn thảo nội dung thông tin của trang mạng nhằm mục đích gởi văn kiện thông tin đến với mọi người sử dụng máy vi tính trên toàn thế giới.
Trang mạng có thể soạn thảo bằng cách biên soạn các Thẻ Lệnh trong những Trình Soạn Thảo Văn Bản thường như [[NotePad]] hoặc [[WordPad]] có sẵn trong Window. Ngoài ra, còn có các Trình chuyên về Thảo Trang Mạng như [[Frontpage]] của Microsoft hoặc [[Dreamweaver]] của Adobe để soạn thảo trang mạng mà không cần phải biết gì về thẻ lệnh HTML. Ngôn ngữ HTML tạo trang mạng tĩnh dưới dạng hồ sơ với tên đuôi là ''.htm hay .html''
* Chương 1 - [[/Cấu trúc trang mạng HTML/]]
* Chương 2 - [[/Thẻ lệnh HTML/]]
* Chương 3 - [[/Mẫu đơn/]] [[/Đơn/]]
==Danh mục==
<div align=center bgcolor=red border=1>[[Sách HTML]] | [[Sách CSS]] | [[Sách JavaScript]] | [[Sách VBScript]] | [[Học PHP]] | [[Sách C]] | [[Học Pascal]] | [[Học Python]] </div>
==Biên soạn==
*[http://ca.linkedin.com/in/quachthanh Quach Thanh] . [[Engineer]] [https://www.hydro.mb.ca/ Manitoba Hydro] . B.Sc.E.E. [http://umanitoba.ca/ University Manitoba] . 1984 - 1988 .
[[Thể Loại:Sách ngôn ngữ lập trình]]{{sách Wikibooks|abc=S|hoàn thành=100}}
g13ova1ywta7e01hu946nacefc7e4m5
543516
543514
2026-10-13T15:11:28Z
~2026-55000-54
19785
543516
wikitext
text/x-wiki
[[HTML]] viết tắt của '''Hyper Text Markup Language''' một ngôn ngữ lập trình trang mạng dùng để soạn thảo nội dung thông tin của trang mạng nhằm mục đích gởi văn kiện thông tin đến với mọi người sử dụng máy vi tính trên toàn thế giới.
Trang mạng có thể soạn thảo bằng cách biên soạn các Thẻ Lệnh trong những Trình Soạn Thảo Văn Bản thường như [[NotePad]] hoặc [[WordPad]] có sẵn trong Window. Ngoài ra, còn có các Trình chuyên về Thảo Trang Mạng như [[Frontpage]] của Microsoft hoặc [[Dreamweaver]] của Adobe để soạn thảo trang mạng mà không cần phải biết gì về thẻ lệnh HTML. Ngôn ngữ HTML tạo trang mạng tĩnh dưới dạng hồ sơ với tên đuôi là ''.htm hay .html''
* Chương 1 - [[/Cấu trúc trang mạng HTML/]]
* Chương 2 - [[/Thẻ lệnh HTML/]]
* Chương 3 - [[/Đơn/]]
==Danh mục==
<div align=center bgcolor=red border=1>[[Sách HTML]] | [[Sách CSS]] | [[Sách JavaScript]] | [[Sách VBScript]] | [[Học PHP]] | [[Sách C]] | [[Học Pascal]] | [[Học Python]] </div>
==Biên soạn==
*[http://ca.linkedin.com/in/quachthanh Quach Thanh] . [[Engineer]] [https://www.hydro.mb.ca/ Manitoba Hydro] . B.Sc.E.E. [http://umanitoba.ca/ University Manitoba] . 1984 - 1988 .
[[Thể Loại:Sách ngôn ngữ lập trình]]{{sách Wikibooks|abc=S|hoàn thành=100}}
nmx7iv3qh1ujqfupve9fetg46l566t4
Sách JavaScript
0
19868
543517
543502
2026-10-13T15:12:33Z
~2026-55000-54
19785
543517
wikitext
text/x-wiki
'''JavaScript''' (viết tắt là '''JS''' hoặc '''Java'''), được sáng chế bởi Netscape là một ngôn ngữ dùng để lập trình trang mạng [[HTML]] cơ bản và theo hướng đối tượng DOM để làm cho trang mạng HTML thêm sống động và đẹp hơn.
* Chương 1 - [[JavaScript/Cú pháp | Cú pháp]]
* Chương 2 - [[/Lệnh Javascript/]]
* Chương 3 - [[JavaScript/Chú thích | Chú thích]]
* Chương 4 - [[JavaScript/Xuất-nhập thông tin | Xuất-nhập thông tin]]
* Chương 5 - [[JavaScript/Dòng chữ | Dòng chữ]]
* Chương 6 - [[JavaScript/Phép toán javascript | Phép toán javascript]]
* Chương 7 - [[JavaScript/Vòng lặp | Vòng lặp]]
* Chương 8 - [[JavaScript/Điều kiện | Điều kiện]]
* Chương 9 - [[JavaScript/Hàm | Hàm]]
* Chương 10 - [[JavaScript/Mảng | Mảng]]
* Chương 11 - [[Javascipt/Đối tượng | Đối tượng]]
==Tham khảo==
* [https://vi.wikibooks.org/wiki/S%C3%A1ch_JavaScript/D%C3%B2ng_l%E1%BB%87nh_Javascript Dòng lệnh JavaScript]
* [https://vi.wikibooks.org/wiki/S%C3%A1ch_JavaScript/T%E1%BA%ADp_tin_m%E1%BA%A3_Javascript Tập tin mả nguồn]
==Danh mục==
<div align=center bgcolor=red border=1>[[Sách HTML]] | [[Sách CSS]] | [[Sách JavaScript]] | [[Sách VBScript]] | [[Học PHP]] | [[Sách C]] | [[Học Pascal]] | [[Học Python]] </div>
==Biên soạn==
* Quách Trung Thành . Kỹ sư điện . Cử nhân trường đại học Manitoba . Canada
{{sách Wikibooks|hoàn thành=75|abc=S}}
[[Thể loại:Sách ngôn ngữ lập trình]]
4gamgu4zhvdr3odh2ozrrdl138540om
Sách JavaScript/Dòng lệnh Javascript
0
20084
543518
454198
2026-10-13T15:14:11Z
~2026-55000-54
19785
543518
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tư liệu ngày giờ ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
==Tư liệu cookie ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
==Tư liệu trình duyệt ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin cac trang mạng tim kiếm Yahoo==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
==Truy tìm thông tin trên trang mạng tim kiếm Vinaseek==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
hfgys6923uvs7rzmtsq5qvci4col36x
543519
543518
2026-10-13T15:14:55Z
~2026-55000-54
19785
/* Truy tìm thông tin cac trang mạng tim kiếm Yahoo */
543519
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tư liệu ngày giờ ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
==Tư liệu cookie ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
==Tư liệu trình duyệt ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
===Truy tìm thông tin cac trang mạng tim kiếm Yahoo===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
==Truy tìm thông tin trên trang mạng tim kiếm Vinaseek==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
4bp2s8qi4a6gvm3blf95li1w5tik2vx
543520
543519
2026-10-13T15:15:14Z
~2026-55000-54
19785
/* Truy tìm thông tin trên trang mạng tim kiếm Vinaseek */
543520
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tư liệu ngày giờ ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
==Tư liệu cookie ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
==Tư liệu trình duyệt ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
===Truy tìm thông tin cac trang mạng tim kiếm Yahoo===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
===Truy tìm thông tin trên trang mạng tim kiếm Vinaseek===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
4ql3hva6xnrx1twqnf1fh69ldjcexkl
543521
543520
2026-10-13T15:15:42Z
~2026-55000-54
19785
/* Tư liệu ngày giờ */
543521
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tư liệu ==
===Tư liệu ngày giờ ===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
==Tư liệu cookie ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
==Tư liệu trình duyệt ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
===Truy tìm thông tin cac trang mạng tim kiếm Yahoo===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
===Truy tìm thông tin trên trang mạng tim kiếm Vinaseek===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
3n3t28wtdhxpshqvh8pnnng19kkui5b
543522
543521
2026-10-13T15:16:42Z
~2026-55000-54
19785
/* Tư liệu */
543522
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
==Tư liệu cookie ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
==Tư liệu trình duyệt ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
===Truy tìm thông tin cac trang mạng tim kiếm Yahoo===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
===Truy tìm thông tin trên trang mạng tim kiếm Vinaseek===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
djzr3gnr095poeylarvlll8yltpogl5
543523
543522
2026-10-13T15:16:56Z
~2026-55000-54
19785
/* Tư liệu cookie */
543523
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
==Tư liệu trình duyệt ==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
===Truy tìm thông tin cac trang mạng tim kiếm Yahoo===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
===Truy tìm thông tin trên trang mạng tim kiếm Vinaseek===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
dzk597hk4nmrhm9qtwg9iuoneo4l7tj
543524
543523
2026-10-13T15:17:13Z
~2026-55000-54
19785
/* Tư liệu trình duyệt */
543524
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
===Truy tìm thông tin cac trang mạng tim kiếm Yahoo===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
===Truy tìm thông tin trên trang mạng tim kiếm Vinaseek===
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
qxbxh36p9hjmp3o1v398vtc94sd2n0i
543525
543524
2026-10-13T15:17:39Z
~2026-55000-54
19785
/* Truy tìm thông tin */
543525
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
g47qq662tvushh9k4099n41rrv055gi
543526
543525
2026-10-13T15:17:52Z
~2026-55000-54
19785
/* Tìm thông tin thời tiết trên trang mạng http://www.wunderground.com */
543526
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
jwy7amh664aytxm8or4ik64w9knzw3x
543527
543526
2026-10-13T15:18:21Z
~2026-55000-54
19785
/* Truy tìm thông tin */
543527
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Làm trang chủ==
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
==Làm trang ưa thích (''favorite'') ==
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
dizmr9i0yyufm5uhxjtccav0wls9qri
543528
543527
2026-10-13T15:19:07Z
~2026-55000-54
19785
543528
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
== ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
lpx7rvv0qy04vjdxz2a0qrao4fzi704
543529
543528
2026-10-13T15:19:57Z
~2026-55000-54
19785
543529
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
==Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
9b8ndv8s21i47n4ed3aq2oiopt2rx0f
543530
543529
2026-10-13T15:20:35Z
~2026-55000-54
19785
/* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien */
543530
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Mozilla, Firefox, Camino:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
l5y37akhvt86twe89itj019cqrgzerc
543531
543530
2026-10-13T15:21:18Z
~2026-55000-54
19785
/* Mozilla, Firefox, Camino: */
543531
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
jsi1vvjlv8kwgpvbnpnzc51qzqsvvaq
543532
543531
2026-10-13T15:22:33Z
~2026-55000-54
19785
/* Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com */
543532
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
ge5b7hvmjk36ed7xrd7eul6cboybdn7
543533
543532
2026-10-13T15:22:52Z
~2026-55000-54
19785
/* Tìm kiếm trên trang mạng tìm kiếm */
543533
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
7aqpyek6uov70vozmhbzlw54g13vtzn
543534
543533
2026-10-13T15:23:02Z
~2026-55000-54
19785
543534
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video nhạc hình, phim trên trng mạng video http://www.youtube.com==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
g489onafpn3a3qhokrnb5oc64qhehdx
543535
543534
2026-10-13T15:23:42Z
~2026-55000-54
19785
/* Tìm kiếm trên trang mạng tìm kiếm */
543535
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video trên trang mạng Youtube
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Cách sử dụng ==
#Chọn dòng lệnh
#Sao dòng lệnh vào Clipboard (Bảng kẹp)
#Dán dòng lệnh vào văn bản
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
ajv9atn48vb0hlq5w0jnw1062baf5nt
543536
543535
2026-10-13T15:24:06Z
~2026-55000-54
19785
/* Cách sử dụng */
543536
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video trên trang mạng Youtube
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
*[http://www.geocities.com/qtt12003/jsfolder/tools/cmd_lib.htm Thư Viện Dòng Lịnh], Thư Viện Dòng Lịnh Javascript với nhửng chức năng thường dùng
lt101g74t77pko9xfpqrr2augyg552w
543537
543536
2026-10-13T15:24:40Z
~2026-55000-54
19785
/* Liên Kết Ngoài */
543537
wikitext
text/x-wiki
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video trên trang mạng Youtube
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
27xz82x2owa10k98x2u2g8a6v8p1w0e
543538
543537
2026-10-13T15:25:07Z
~2026-55000-54
19785
543538
wikitext
text/x-wiki
[[Thể lại:Sách HTML]]
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video trên trang mạng Youtube
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
45yiyqvnyjw1biurh4vbww559n3vene
543539
543538
2026-10-13T15:25:21Z
~2026-55000-54
19785
543539
wikitext
text/x-wiki
[[Thể lại:Sách Javascript]]
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video trên trang mạng Youtube
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
gipl2binbw2i3bog1c9dpkmzpv1h6bv
543540
543539
2026-10-13T15:25:37Z
~2026-55000-54
19785
543540
wikitext
text/x-wiki
[[Thể loại:Sách Javascript]]
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video trên trang mạng Youtube
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
lmu2zbe91ccxqq8hgtsjao3hmplsu3h
543541
543540
2026-10-13T15:26:16Z
~2026-55000-54
19785
543541
wikitext
text/x-wiki
[[Thể loại: Sách JavaScript]]
Danh Sách Dòng lệnh Javascript
==Định dạng trang mạng ==
* Làm trang chủ
:Chỉ hoạt động tốt trong IE:
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('location.href');">Làm trang chủ</a>
* Làm trang ưa thích (''favorite'')
:Chỉ IE
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="window.external.AddFavorite(location.href, location.href)">Làm trang ưa thích</a>
</syntaxhighlight>
==Tìm kiếm trên trang mạng tìm kiếm==
* Tìm video trên trang mạng Youtube
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.youtube.com/results?search_query=' + prompt('Tìm về phim:','Charlie Chaplin');">Tìm video nhạc hình, phim từ YouTube</a>
</syntaxhighlight>
==Hiển thi tư liệu ==
* Tư liệu ngày giờ
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(new Date());">Tư liệu ngày giờ</a>
</syntaxhighlight>
* Tư liệu cookie
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="alert(document.cookie, 'Cookie Setting');">Tư liệu cookie</A>
</syntaxhighlight>
* Tư liệu trình duyệt
:<syntaxhighlight lang="pascal" >
<a href="#" onclick='alert("Trình duyệt: "+ navigator.appName + "\n" + "Phiên bản: " + navigator.appVersion + "\n" + "Mã: " + navigator.appCodeName + "\n" + "Hệ điều hành: " + navigator.platform + "\n"+"Bề rộng màn hình: "+screen.width + "\n" + "Bề cao màn hình: " + screen.height + "\n" + "Bề rộng khung hiển thị trang: " + window.screen.availWidth + "\n" + "Bề cao khung hiển thị trang: " + window.screen.availHeight + "\n" + "Độ sâu màu: " + window.screen.colorDepth + "\n");'>Tư liệu trình duyệt</a>
</syntaxhighlight>
==Truy tìm thông tin==
* Truy tìm thông tin cac trang mạng tim kiếm Yahoo
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Yahoo!</a>
</syntaxhighlight>
*Truy tìm thông tin trên trang mạng tim kiếm Vinaseek
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.vinaseek.com/search.asp?form=sfr&Kbrd=vni&font=utf8&query=' + prompt('Tìm kiếm về', 'nhạc');">Tìm thông tin từ Vinaseek</a>
</syntaxhighlight>
* Tìm thông tin thời tiết trên trang mạng thời tiết
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.wunderground.com/cgi-bin/findweather/getForecast?query=' + prompt('Tên thành phố hay mã bưu điện Mỹ:', 'Toronto');">Tìm thông tin thời tiết từ Weather Underground</a>
</syntaxhighlight>
== ==
* Dòng lệnh dịch chu Tieng việt sang chu tieng anh trên SAIGON tu dien==
: <syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.saigon.com:8082/?db=ve&fmt=u&word=' + prompt('Tra từ:', 'anh');">Tìm từ dịch Việt sang Anh</a><br>
</syntaxhighlight>
==Xem mã nguồn trang mạng IE:==
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='http://www.cyber-junkie.com/cgi-bin/sviewer/sviewer.pl?url=' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
* Mozilla, Firefox, Camino:
:<syntaxhighlight lang="pascal" >
<a href="#" onclick="document.location.href='view-source:' + prompt('Địa chỉ URL:','http://vi.wikibooks.org/');">Xem mã nguồn trang mạng</a>
</syntaxhighlight>
== Liên Kết Ngoài ==
*[http://web.archive.org/20080103003431/www.geocities.com/qtt12003/jsfolder/tools/htmleditor.htm Trình Soạn HTML] dùng để Viết, Xem, Hoán Chuyển hồ sơ HTML
tpucvtqq28gdkwmsldubhmck7myz6ba
JavaScript
0
21075
543563
539634
2026-10-13T15:55:09Z
~2026-55000-54
19785
543563
wikitext
text/x-wiki
'''JavaScript''' (viết tắt là '''JS''' hoặc '''Java'''), được sáng chế bởi Netscape là một ngôn ngữ dùng để lập trình trang mạng [[HTML]] cơ bản và theo hướng đối tượng DOM để làm cho trang mạng HTML thêm sống động và đẹp hơn.
* Chương 1 - [[JavaScript/Cú pháp | Cú pháp ]]
* Chương 1 - [[JavaScript/Chú thích | Chú thích]]
* Chương 1 - [[JavaScript/Xuất-nhập thông tin | Xuất-nhập thông tin]]
* Chương 1 - [[JavaScript/Dòng chữ | Dòng chữ]]
* Chương 1 - [[JavaScript/Phép toán javascript | Phép toán javascript]]
* Chương 1 - [[JavaScript/Vòng lặp | Vòng lặp]]
* Chương 1 - [[JavaScript/Điều kiện | Điều kiện]]
* Chương 1 - [[JavaScript/Hàm | Hàm]]
* Chương 1 - [[JavaScript/Mảng | Mảng]]
* Chương 1 - [[Javascipt/Đối tượng | Đối tượng]]
==Xem thêm==
* [[/Mã nguồn JavaScript/]]
[[Thể loại:Ngôn ngữ lập trình]]
[[Thể loại:Sách ngôn ngữ lập trình]]
fjmz906lerlk3h04y5jcn2a25jnqbxu
JavaScript/Xuất-nhập thông tin
0
24308
543545
541878
2026-10-13T15:34:26Z
~2026-55000-54
19785
543545
wikitext
text/x-wiki
Thông tin được nhập qua lệnh '''Prompt''' và được xuất qua lện '''Alert'''
==Nhập thông tin==
Thông Tin được nhập bằng Lệnh '''Prompt()''' có cú pháp sau
:Var Thong_Tin_Nhap
:Thong_Tin_Nhap = prompt('Tiêu_Đề', 'Thông_Tin_Nhập');
==Xuất thông tin==
Thông Tin được xuất bằng Lệnh '''document.write()''' và '''Lệnh alert()'''
:document.write(' Xin Chào . Hôm nay là ngày ' + new Date());
:alert('Thông Báo', Xin Chào . Hôm nay là ngày ' + new Date());
[[Thể loại:Lập trình Javascript]]
667wq7g4kmesherplwaxzoejxorqjqd
543546
543545
2026-10-13T15:36:17Z
~2026-55000-54
19785
543546
wikitext
text/x-wiki
Thông tin được nhập qua lệnh '''Prompt''' và được xuất qua lện '''Alert'''
==Cú pháp nhập thông tin==
:Var Thong_Tin_Nhap
:Thong_Tin_Nhap = prompt('Tiêu_Đề', 'Thông_Tin_Nhập');
==Cú pháp xuất thông tin==
:document.write(' Xin Chào . Hôm nay là ngày ' + new Date());
:alert('Thông Báo', Xin Chào . Hôm nay là ngày ' + new Date());
[[Thể loại:Lập trình Javascript]]
b5v514dlwg84nc739599fp6kzebd1ut
JavaScript/Dòng chữ
0
24309
543547
518059
2026-10-13T15:38:06Z
~2026-55000-54
19785
/* Thí dụ */
543547
wikitext
text/x-wiki
[[Thể loại:Lập trình Javascript]]
Dòng văn bản được dùng để biểu diển chữ và cách thể hiện chữ trong trang mạng
==Cú pháp==
===Khai báo dòng chữ===
: Var Text = "Hello, there"
===Ghép thuộc tính dòng chữ===
* bold() - Chữ đậm
* italic() - Chữ nghiên
* big() - Chữ to
* small() - Chữ nhỏ
===Hiển thị dòng chữ với thuộc tính===
: document.write(Text.bold())
==Thí dụ==
<pre>
<!DOCTYPE html>
<html>
<body>
<script>
var txt = "Hello World!";
document.write("The original string: " + txt);
document.write("<p>Big: " + txt.big() + "</p>");
document.write("<p>Small: " + txt.small() + "</p>");
document.write("<p>Bold: " + txt.bold() + "</p>");
document.write("<p>Italic: " + txt.italics() + "</p>");
document.write("<p>Fixed: " + txt.fixed() + "</p>");
document.write("<p>Strike: " + txt.strike() + "</p>");
document.write("<p>Fontcolor: " + txt.fontcolor("green") + "</p>");
document.write("<p>Fontsize: " + txt.fontsize(6) + "</p>");
document.write("<p>Subscript: " + txt.sub() + "</p>");
document.write("<p>Superscript: " + txt.sup() + "</p>");
document.write("<p>Link: " + txt.link("http://www.w3schools.com") + "</p>");
document.write("<p>Blink: " + txt.blink() + " (does not work in IE, Chrome, Firefox or Safari)</p>");
</script>
</body>
</html>
</pre>
0cifbuz5n4iuytutr6hxzlvofc99p2e
JavaScript/Điều kiện
0
24312
543548
518062
2026-10-13T15:39:06Z
~2026-55000-54
19785
/* Thí dụ */
543548
wikitext
text/x-wiki
==If==
===Cú pháp===
<pre><nowiki><script language="JavaScript">
if (biểu_thức_1)
{
khối lệnh được thực hiện nếu biểu thức 1 đúng;
}
</script></nowiki></pre>
===Thí Dụ ===
<pre><nowiki><script language="JavaScript">
if (biểu_thức_1)
{
khối lệnh được thực hiện nếu biểu thức 1 đúng;
}
</script></nowiki></pre>
==If ... Else==
<kbd>if ... else</kbd> dùng trong trường hợp muốn rẽ nhánh theo điều kiện. Cú pháp này tương đương với nếu x thì làm y, còn nếu không thì làm z. Các câu lệnh <kbd>if ... else</kbd> có thể lồng trong nhau.
===Cú pháp===
<pre><nowiki><script language="JavaScript">
if (biểu_thức_1)
{
khối lệnh được thực hiện nếu biểu thức 1 đúng;
}
else if (biểu_thức_2)
{
khối lệnh được thực hiện nếu biểu thức 2 đúng;
}
else
{
khối lệnh được thực hiện nếu cả hai biểu thức trên đều không đúng;
}
</script></nowiki></pre>
===Thí dụ===
<pre><nowiki><script language="JavaScript">
var x = prompt("Nhập vào giá trị của x:");
x = parseFloat(x);
if (!isNaN(x)) {
if (x > 0)
{
alert("x > 0");
}
else if (x == 0)
{
alert("x = 0");
}
else
{
alert("x < 0");
}
}
else
{
alert("giá trị bạn nhập không phải là một số");
}
</script></nowiki></pre>
Đoạn mã nguồn trên mở một hộp thoại yêu cầu nhập vào một giá trị số, sau đó hiển thị thông báo số đó lớn hơn 0, bằng 0 hay nhỏ hơn 0.
==Biểu thức==
Toán từ điều kiện còn được biết đến với tên gọi [[toán tử tam phân]]. Cú pháp của toán tử này như sau:
===Cú pháp ===
<pre><nowiki><script language="JavaScript">
điều_kiện ? biểu_thức_đúng : biểu_thức_sai;
</script></nowiki></pre>
Toán tử này sẽ trả lại giá trị là kết quả của biểu_thức_đúng nếu điều_kiện có giá trị bool bằng [[true]], ngược lại nó sẽ trả lại giá trị bằng biểu_thức_sai.
===Thí dụ===
<script language="JavaScript">
điều_kiện ? biểu_thức_đúng : biểu_thức_sai;
</script>
[[Thể loại:Lập trình Javascript]]
iqxbcpam1yac5cmm3x4j5y27at3h24d
JavaScript/Hàm
0
24313
543549
518063
2026-10-13T15:41:38Z
~2026-55000-54
19785
543549
wikitext
text/x-wiki
Hàm không có Đối số và không trả lại giá trị
==Dạng Hàm ==
:|width=100%
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm mặc định/]] ||
|-
|}
==Hàm Trống==
Hàm không có Đối số và không trả lại giá trị
===Cú pháp===
<pre><nowiki><script language="JavaScript">
function Name()
{
thân hàm;
}
</script></nowiki></pre>
===Thí Dụ===
<pre><nowiki><script language="JavaScript">
Ngay_Gio()
function Ngay_Gio()
{
document.alert('Hôm nay là : ' + New Date());
}
</script></nowiki></pre>
Hàm có một hay nhiều đối số, có thể trả lại một giá trị hay không trả lại giá trị
==Hàm có đối số==
===Cú pháp ===
<pre><nowiki><script language="JavaScript">
function tên_hàm(đối_số_1, đối_số_2)
{
các câu lệnh cần thực hiện mỗi khi hàm được gọi;
return giá_trị_cần_trả_về;
}
tên_hàm(1, 2); // Gọi hàm tên_hàm với hai đối số 1 và 2 ứng với đối_số_1 và đối_số_2
tên_hàm(1); // Gọi hàm tên_hàm với đối_số_1 có giá trị 1, đối_số_2 có giá trị undefined
</script></nowiki></pre>
===Thí Dụ===
<pre><nowiki><script language="JavaScript">
Array.prototype.fold =
function (value, functor) {
var result = value;
for (var i = 0; i < this.length; i++) {
result = functor(result, this[i]);
}
return result;
}
var sum = [1,2,3,4,5,6,7,8,9,10].fold(0, function (a, b) { return a + b })
document.write(sum);
</script></nowiki></pre>
Đoạn mã nguồn trên sẽ trả lại kết quả là 55.
==Hàm Javascript mặc định==
* [[function(e)]]
[[Thể loại:Lập trình Javascript]]
otdghhvgn9xlzrpkd9kcmzxtgk4it5i
543550
543549
2026-10-13T15:41:49Z
~2026-55000-54
19785
543550
wikitext
text/x-wiki
Hàm không có Đối số và không trả lại giá trị
==Dạng Hàm ==
:{|width=100%
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm mặc định/]] ||
|-
|}
==Hàm Trống==
Hàm không có Đối số và không trả lại giá trị
===Cú pháp===
<pre><nowiki><script language="JavaScript">
function Name()
{
thân hàm;
}
</script></nowiki></pre>
===Thí Dụ===
<pre><nowiki><script language="JavaScript">
Ngay_Gio()
function Ngay_Gio()
{
document.alert('Hôm nay là : ' + New Date());
}
</script></nowiki></pre>
Hàm có một hay nhiều đối số, có thể trả lại một giá trị hay không trả lại giá trị
==Hàm có đối số==
===Cú pháp ===
<pre><nowiki><script language="JavaScript">
function tên_hàm(đối_số_1, đối_số_2)
{
các câu lệnh cần thực hiện mỗi khi hàm được gọi;
return giá_trị_cần_trả_về;
}
tên_hàm(1, 2); // Gọi hàm tên_hàm với hai đối số 1 và 2 ứng với đối_số_1 và đối_số_2
tên_hàm(1); // Gọi hàm tên_hàm với đối_số_1 có giá trị 1, đối_số_2 có giá trị undefined
</script></nowiki></pre>
===Thí Dụ===
<pre><nowiki><script language="JavaScript">
Array.prototype.fold =
function (value, functor) {
var result = value;
for (var i = 0; i < this.length; i++) {
result = functor(result, this[i]);
}
return result;
}
var sum = [1,2,3,4,5,6,7,8,9,10].fold(0, function (a, b) { return a + b })
document.write(sum);
</script></nowiki></pre>
Đoạn mã nguồn trên sẽ trả lại kết quả là 55.
==Hàm Javascript mặc định==
* [[function(e)]]
[[Thể loại:Lập trình Javascript]]
l2mt47ph0mri41idei4tcyopytrkwdg
543551
543550
2026-10-13T15:42:13Z
~2026-55000-54
19785
/* Hàm Trống */
543551
wikitext
text/x-wiki
Hàm không có Đối số và không trả lại giá trị
==Dạng Hàm ==
:{|width=100%
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm mặc định/]] ||
|-
|}
===Hàm Trống===
Hàm không có Đối số và không trả lại giá trị
====Cú pháp====
<pre><nowiki><script language="JavaScript">
function Name()
{
thân hàm;
}
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Ngay_Gio()
function Ngay_Gio()
{
document.alert('Hôm nay là : ' + New Date());
}
</script></nowiki></pre>
Hàm có một hay nhiều đối số, có thể trả lại một giá trị hay không trả lại giá trị
==Hàm có đối số==
===Cú pháp ===
<pre><nowiki><script language="JavaScript">
function tên_hàm(đối_số_1, đối_số_2)
{
các câu lệnh cần thực hiện mỗi khi hàm được gọi;
return giá_trị_cần_trả_về;
}
tên_hàm(1, 2); // Gọi hàm tên_hàm với hai đối số 1 và 2 ứng với đối_số_1 và đối_số_2
tên_hàm(1); // Gọi hàm tên_hàm với đối_số_1 có giá trị 1, đối_số_2 có giá trị undefined
</script></nowiki></pre>
===Thí Dụ===
<pre><nowiki><script language="JavaScript">
Array.prototype.fold =
function (value, functor) {
var result = value;
for (var i = 0; i < this.length; i++) {
result = functor(result, this[i]);
}
return result;
}
var sum = [1,2,3,4,5,6,7,8,9,10].fold(0, function (a, b) { return a + b })
document.write(sum);
</script></nowiki></pre>
Đoạn mã nguồn trên sẽ trả lại kết quả là 55.
==Hàm Javascript mặc định==
* [[function(e)]]
[[Thể loại:Lập trình Javascript]]
ll6c76ime5kq8nb1vxcfekqtsma6dru
543552
543551
2026-10-13T15:42:30Z
~2026-55000-54
19785
/* Hàm có đối số */
543552
wikitext
text/x-wiki
Hàm không có Đối số và không trả lại giá trị
==Dạng Hàm ==
:{|width=100%
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm mặc định/]] ||
|-
|}
===Hàm Trống===
Hàm không có Đối số và không trả lại giá trị
====Cú pháp====
<pre><nowiki><script language="JavaScript">
function Name()
{
thân hàm;
}
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Ngay_Gio()
function Ngay_Gio()
{
document.alert('Hôm nay là : ' + New Date());
}
</script></nowiki></pre>
Hàm có một hay nhiều đối số, có thể trả lại một giá trị hay không trả lại giá trị
===Hàm có đối số===
====Cú pháp ====
<pre><nowiki><script language="JavaScript">
function tên_hàm(đối_số_1, đối_số_2)
{
các câu lệnh cần thực hiện mỗi khi hàm được gọi;
return giá_trị_cần_trả_về;
}
tên_hàm(1, 2); // Gọi hàm tên_hàm với hai đối số 1 và 2 ứng với đối_số_1 và đối_số_2
tên_hàm(1); // Gọi hàm tên_hàm với đối_số_1 có giá trị 1, đối_số_2 có giá trị undefined
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Array.prototype.fold =
function (value, functor) {
var result = value;
for (var i = 0; i < this.length; i++) {
result = functor(result, this[i]);
}
return result;
}
var sum = [1,2,3,4,5,6,7,8,9,10].fold(0, function (a, b) { return a + b })
document.write(sum);
</script></nowiki></pre>
Đoạn mã nguồn trên sẽ trả lại kết quả là 55.
==Hàm Javascript mặc định==
* [[function(e)]]
[[Thể loại:Lập trình Javascript]]
3oy3vo2duv4idsk15od6m7miip05i0g
543553
543552
2026-10-13T15:42:46Z
~2026-55000-54
19785
/* Hàm Javascript mặc định */
543553
wikitext
text/x-wiki
Hàm không có Đối số và không trả lại giá trị
==Dạng Hàm ==
:{|width=100%
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm mặc định/]] ||
|-
|}
===Hàm Trống===
Hàm không có Đối số và không trả lại giá trị
====Cú pháp====
<pre><nowiki><script language="JavaScript">
function Name()
{
thân hàm;
}
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Ngay_Gio()
function Ngay_Gio()
{
document.alert('Hôm nay là : ' + New Date());
}
</script></nowiki></pre>
Hàm có một hay nhiều đối số, có thể trả lại một giá trị hay không trả lại giá trị
===Hàm có đối số===
====Cú pháp ====
<pre><nowiki><script language="JavaScript">
function tên_hàm(đối_số_1, đối_số_2)
{
các câu lệnh cần thực hiện mỗi khi hàm được gọi;
return giá_trị_cần_trả_về;
}
tên_hàm(1, 2); // Gọi hàm tên_hàm với hai đối số 1 và 2 ứng với đối_số_1 và đối_số_2
tên_hàm(1); // Gọi hàm tên_hàm với đối_số_1 có giá trị 1, đối_số_2 có giá trị undefined
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Array.prototype.fold =
function (value, functor) {
var result = value;
for (var i = 0; i < this.length; i++) {
result = functor(result, this[i]);
}
return result;
}
var sum = [1,2,3,4,5,6,7,8,9,10].fold(0, function (a, b) { return a + b })
document.write(sum);
</script></nowiki></pre>
Đoạn mã nguồn trên sẽ trả lại kết quả là 55.
===Hàm Javascript mặc định===
* [[function(e)]]
[[Thể loại:Lập trình Javascript]]
cifg3dmd8ahvu3c2u5ufiqnh5v4zdis
543554
543553
2026-10-13T15:43:01Z
~2026-55000-54
19785
/* Hàm Javascript mặc định */
543554
wikitext
text/x-wiki
Hàm không có Đối số và không trả lại giá trị
==Dạng Hàm ==
:{|width=100%
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm mặc định/]] ||
|-
|}
===Hàm Trống===
Hàm không có Đối số và không trả lại giá trị
====Cú pháp====
<pre><nowiki><script language="JavaScript">
function Name()
{
thân hàm;
}
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Ngay_Gio()
function Ngay_Gio()
{
document.alert('Hôm nay là : ' + New Date());
}
</script></nowiki></pre>
Hàm có một hay nhiều đối số, có thể trả lại một giá trị hay không trả lại giá trị
===Hàm có đối số===
====Cú pháp ====
<pre><nowiki><script language="JavaScript">
function tên_hàm(đối_số_1, đối_số_2)
{
các câu lệnh cần thực hiện mỗi khi hàm được gọi;
return giá_trị_cần_trả_về;
}
tên_hàm(1, 2); // Gọi hàm tên_hàm với hai đối số 1 và 2 ứng với đối_số_1 và đối_số_2
tên_hàm(1); // Gọi hàm tên_hàm với đối_số_1 có giá trị 1, đối_số_2 có giá trị undefined
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Array.prototype.fold =
function (value, functor) {
var result = value;
for (var i = 0; i < this.length; i++) {
result = functor(result, this[i]);
}
return result;
}
var sum = [1,2,3,4,5,6,7,8,9,10].fold(0, function (a, b) { return a + b })
document.write(sum);
</script></nowiki></pre>
Đoạn mã nguồn trên sẽ trả lại kết quả là 55.
===Hàm mặc định===
* [[function(e)]]
[[Thể loại:Lập trình Javascript]]
ar6ybkl1jcv8d05acsayggvtwtu6xx5
543555
543554
2026-10-13T15:43:32Z
~2026-55000-54
19785
/* Hàm mặc định */
543555
wikitext
text/x-wiki
Hàm không có Đối số và không trả lại giá trị
==Dạng Hàm ==
:{|width=100%
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm Trống/]] || Hàm không có Đối số và không trả lại giá trị
|-
| [[/Hàm mặc định/]] ||
|-
|}
===Hàm Trống===
Hàm không có Đối số và không trả lại giá trị
====Cú pháp====
<pre><nowiki><script language="JavaScript">
function Name()
{
thân hàm;
}
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Ngay_Gio()
function Ngay_Gio()
{
document.alert('Hôm nay là : ' + New Date());
}
</script></nowiki></pre>
Hàm có một hay nhiều đối số, có thể trả lại một giá trị hay không trả lại giá trị
===Hàm có đối số===
====Cú pháp ====
<pre><nowiki><script language="JavaScript">
function tên_hàm(đối_số_1, đối_số_2)
{
các câu lệnh cần thực hiện mỗi khi hàm được gọi;
return giá_trị_cần_trả_về;
}
tên_hàm(1, 2); // Gọi hàm tên_hàm với hai đối số 1 và 2 ứng với đối_số_1 và đối_số_2
tên_hàm(1); // Gọi hàm tên_hàm với đối_số_1 có giá trị 1, đối_số_2 có giá trị undefined
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Array.prototype.fold =
function (value, functor) {
var result = value;
for (var i = 0; i < this.length; i++) {
result = functor(result, this[i]);
}
return result;
}
var sum = [1,2,3,4,5,6,7,8,9,10].fold(0, function (a, b) { return a + b })
document.write(sum);
</script></nowiki></pre>
Đoạn mã nguồn trên sẽ trả lại kết quả là 55.
===Hàm mặc định===
Sau đây là danh sách các hàm mặc định
* [[function(e)]]
[[Thể loại:Lập trình Javascript]]
cw8tvqp69q4hzmc3325lwd5pp78e3wc
Javascipt/Đối tượng
0
24316
543560
518065
2026-10-13T15:48:23Z
~2026-55000-54
19785
543560
wikitext
text/x-wiki
Mỗi đối tượng đều có một Thuộc tính và một cách Xử lý đối tượng
==Khai báo==
Mỗi đối tượng đều có một Thuộc tính và một cách Xử lý đối tượng đựoc khai báo như ở dưới đây
: Đối tượng . Thuộc tính
: Đối tượng . Xử lý
==Loại đối tượng==
===Đối tượng tạo===
====Khai báo====
<syntaxhighlight lang="javascript">
var myStructure = {
name: [
first: "Mel",
last: "Smith"
],
age: 33,
hobbies: [ "chess", "jogging" ]
};
</syntaxhighlight>
====Thí dụ====
<syntaxhighlight lang="javascript">
var myStructure = {
name: [
first: "Mel",
last: "Smith"
],
age: 33,
hobbies: [ "chess", "jogging" ]
};
</syntaxhighlight>
===Đối tượng mặc định===
* [[/Window/]]
* [[/Document/]]
[[Thể loại:Lập trình Javascript]]
bjw2145tjektk2dfpbt79cspnbx39pf
543561
543560
2026-10-13T15:51:28Z
~2026-55000-54
19785
543561
wikitext
text/x-wiki
Đối tượng là một thực thể độc lập chứa cả dữ liệu (thuộc tính/trạng thái) và hành vi (phương thức/thao tác có thể thực hiện trên dữ liệu đó
==Thuộc tính==
Mỗi đối tượng đều có một Thuộc tính và một cách Xử lý đối tượng
==Cách khai báo==
Mỗi đối tượng đều có một Thuộc tính và một cách Xử lý đối tượng đựoc khai báo như ở dưới đây
: Đối tượng . Thuộc tính
: Đối tượng . Xử lý
==Loại đối tượng==
===Đối tượng tạo===
====Khai báo====
<syntaxhighlight lang="javascript">
var myStructure = {
name: [
first: "Mel",
last: "Smith"
],
age: 33,
hobbies: [ "chess", "jogging" ]
};
</syntaxhighlight>
====Thí dụ====
<syntaxhighlight lang="javascript">
var myStructure = {
name: [
first: "Mel",
last: "Smith"
],
age: 33,
hobbies: [ "chess", "jogging" ]
};
</syntaxhighlight>
===Đối tượng mặc định===
* [[/Window/]]
* [[/Document/]]
[[Thể loại:Lập trình Javascript]]
cleuen50nhdppoa75n9xhw5znxdd9cm
JavaScript/Mã nguồn JavaScript
0
24317
543562
518066
2026-10-13T15:53:46Z
~2026-55000-54
19785
543562
wikitext
text/x-wiki
* [https://vi.wikibooks.org/wiki/S%C3%A1ch_JavaScript/D%C3%B2ng_l%E1%BB%87nh_Javascript Dòng lệnh JavaScript]
* [[Sách JavaScript/Tập tin mả Javascrip | Tập tin mả Javascrip]]
tq3f4ip7m06ieru0lys2eqsuqxsyfnt
Sách CSS/Phần tử trang mạng
0
106652
543542
543498
2026-10-13T15:28:50Z
~2026-55000-54
19785
/* Danh sách các phần tử trang mạng */
543542
wikitext
text/x-wiki
CSS được dùng trong việc định dạng thể hình trang mạng bằng cách gán một Giá Trị (Value) cho một Thuộc Tính (Property) của một hoặc nhiều Phần Tử (Element) của trang mạng .
==Quy ước==
The quy ước, mỗi phần tử trong trang mạng có một thuộc tính . Mỗi thuộc tính có một giá trị riêng
<pre>
Phần_Tử_Trang_Mạng {Thuộc_Tính_1 : Giá_Trị_1 ; Thuộc_Tính_2 : Giá_Trị_2 ; Thuộc_Tính_n : Giá_Trị_n }
Hay
Phần_Tử_Trang_Mạng
{
Thuộc_Tính_1 : Giá_Trị_1 ;
Thuộc_Tính_2 : Giá_Trị_2 ;
Thuộc_Tính_n : Giá_Trị_n ;
}
</pre>
==Danh sách các phần tử trang mạng==
Phần tử CSS được dùng để định dạng tể hình trang mạng. Các Phần Tử (selector) của trang mạng đều có Thuộc Tính (Property) và Trị Số Giá Trị (Value)
* [[Background]] - Phần tử định dạng nền trang mạng
* [[Text]] - Phần tử định dạng dòng chữ
* [[Font]] - Phần tử định dạng Kiểu chữ
* [[Border]]
: Định dạng iên
* [[Scrollbar]]
: Định dạng
* [[Outline]]
: Định dạng vành biên
* [[Margin]]
: Định dạng Lê
* [[Padding]]
: Định dạng Đệm
* [[List]]
:
* [[Table]]
:
[[Thể loại: CSS]]
7mcvvzc2n4b4v748k9vhluf11l1v1k1
543543
543542
2026-10-13T15:31:45Z
~2026-55000-54
19785
/* Danh sách các phần tử trang mạng */
543543
wikitext
text/x-wiki
CSS được dùng trong việc định dạng thể hình trang mạng bằng cách gán một Giá Trị (Value) cho một Thuộc Tính (Property) của một hoặc nhiều Phần Tử (Element) của trang mạng .
==Quy ước==
The quy ước, mỗi phần tử trong trang mạng có một thuộc tính . Mỗi thuộc tính có một giá trị riêng
<pre>
Phần_Tử_Trang_Mạng {Thuộc_Tính_1 : Giá_Trị_1 ; Thuộc_Tính_2 : Giá_Trị_2 ; Thuộc_Tính_n : Giá_Trị_n }
Hay
Phần_Tử_Trang_Mạng
{
Thuộc_Tính_1 : Giá_Trị_1 ;
Thuộc_Tính_2 : Giá_Trị_2 ;
Thuộc_Tính_n : Giá_Trị_n ;
}
</pre>
==Danh sách các phần tử trang mạng==
Phần tử CSS được dùng để định dạng tể hình trang mạng. Các Phần Tử (selector) của trang mạng đều có Thuộc Tính (Property) và Trị Số Giá Trị (Value)
:{|width=100%
|-
| [[Background]] || Phần tử định dạng nền trang mạng
|-
|[[Text]] || Phần tử định dạng dòng chữ
|-
| [[Font]] || Phần tử định dạng Kiểu chữ
|-
|[[Border]] || Định dạng iên
|-
|[[Scrollbar]] || Định dạng
|-
| [[Outline]] || Định dạng vành biên
|-
|[[Margin]] || Định dạng Lê
|-
| [[Padding]] || Định dạng Đệm
|-
| [[List]] ||
|-
| [[Table]]
|-
|}
[[Thể loại: CSS]]
7pqjg4e8oy4oapvalkvd5vp3az28t3e
543544
543543
2026-10-13T15:32:31Z
~2026-55000-54
19785
/* Danh sách các phần tử trang mạng */
543544
wikitext
text/x-wiki
CSS được dùng trong việc định dạng thể hình trang mạng bằng cách gán một Giá Trị (Value) cho một Thuộc Tính (Property) của một hoặc nhiều Phần Tử (Element) của trang mạng .
==Quy ước==
The quy ước, mỗi phần tử trong trang mạng có một thuộc tính . Mỗi thuộc tính có một giá trị riêng
<pre>
Phần_Tử_Trang_Mạng {Thuộc_Tính_1 : Giá_Trị_1 ; Thuộc_Tính_2 : Giá_Trị_2 ; Thuộc_Tính_n : Giá_Trị_n }
Hay
Phần_Tử_Trang_Mạng
{
Thuộc_Tính_1 : Giá_Trị_1 ;
Thuộc_Tính_2 : Giá_Trị_2 ;
Thuộc_Tính_n : Giá_Trị_n ;
}
</pre>
==Danh sách các phần tử trang mạng==
Phần tử CSS được dùng để định dạng tể hình trang mạng. Các Phần Tử (selector) của trang mạng đều có Thuộc Tính (Property) và Trị Số Giá Trị (Value)
:{|width=100%
|-
| [[Background]] || Phần tử định dạng nền trang mạng
|-
|[[Text]] || Phần tử định dạng dòng chữ
|-
| [[Font]] || Phần tử định dạng Kiểu chữ
|-
|[[Border]] || Định dạng biên
|-
|[[Scrollbar]] || Định dạng
|-
| [[Outline]] || Định dạng vành biên
|-
|[[Margin]] || Định dạng Lề
|-
| [[Padding]] || Định dạng Đệm
|-
| [[List]] || Định dạng Danh sách
|-
| [[Table]] || Định dạng Bảng
|-
|}
[[Thể loại: CSS]]
8fiby7w5j1pugh230y5h9hol0qa2rfg
Sách HTML/Đơn
0
110531
543515
2026-10-13T15:11:15Z
~2026-55000-54
19785
Trang mới: “[[Đơn]] là một phần tử HTML dùng để thông tin giữa máy người sử dụng với máy chủ cung cấp dịch vụ qua thẻ lệnh HTML :<form></form>. ==Cú pháp== <syntaxhighlight lang="html4strict"> <form name=Tên action=URL_Address method=get|post> [[hộp chữ]], [[nút]], [[nút chọn]], [[vùng chữ]], [[bảng liệt kê]] </form> </syntaxhighlight> Tham số :name=Tên :action=URL :method=get|post : Phần tử đơn - hộp chữ…”
543515
wikitext
text/x-wiki
[[Đơn]] là một phần tử HTML dùng để thông tin giữa máy người sử dụng với máy chủ cung cấp dịch vụ qua thẻ lệnh HTML
:<form></form>.
==Cú pháp==
<syntaxhighlight lang="html4strict">
<form name=Tên action=URL_Address method=get|post>
[[hộp chữ]], [[nút]], [[nút chọn]], [[vùng chữ]], [[bảng liệt kê]]
</form>
</syntaxhighlight>
Tham số
:name=Tên
:action=URL
:method=get|post
: Phần tử đơn - [[hộp chữ]], [[nút]], [[nút chọn]], [[vùng chữ]], [[bảng liệt kê]]
==Phần tử đơn==
Một Đơn bao gồm nhiều phần tử . Mỗi phần tử của đơn có tên riêng, giá trị và cách khai báo riêng
* [[Hộp chữ]],
* [[Nút]],
* [[Nút chọn]],
* [[Vùng chữ]],
* [[Bảng liệt kê]]
==Thí dụ==
<pre>
<!DOCTYPE html>
<html>
<body>
<form action="">
First name: <input type="text" name="firstname"><br>
Last name: <input type="text" name="lastname">
<input type="radio" name="fav_language" value="HTML">HTML<br>
<input type="radio" name="fav_language" value="CSS">CSS<br>
<input type="radio" name="fav_language" value="JavaScript">JavaScript
<input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
<input type="checkbox" name="vehicle" value="Car">I have a car
<input type="button" value="Hello world!">
<input type="reset" value="tên của nút">
<input type="submit" value="tên của nút">
</form>
</body>
</html>
</pre>
[[Thể loại:Sách HTML]]
qu2s0qjbsmogu1v2guda0053ebrqz3y
JavaScript/Hàm/Hàm Trống
0
110532
543556
2026-10-13T15:44:19Z
~2026-55000-54
19785
Trang mới: “===Hàm Trống=== Hàm không có Đối số và không trả lại giá trị ====Cú pháp==== <pre><nowiki><script language="JavaScript"> function Name() { thân hàm; } </script></nowiki></pre> ====Thí Dụ==== <pre><nowiki><script language="JavaScript"> Ngay_Gio() function Ngay_Gio() { document.alert('Hôm nay là : ' + New Date()); } </script></nowiki></pre> Hàm có một hay nhiều đối số, có thể trả l…”
543556
wikitext
text/x-wiki
===Hàm Trống===
Hàm không có Đối số và không trả lại giá trị
====Cú pháp====
<pre><nowiki><script language="JavaScript">
function Name()
{
thân hàm;
}
</script></nowiki></pre>
====Thí Dụ====
<pre><nowiki><script language="JavaScript">
Ngay_Gio()
function Ngay_Gio()
{
document.alert('Hôm nay là : ' + New Date());
}
</script></nowiki></pre>
Hàm có một hay nhiều đối số, có thể trả lại một giá trị hay không trả lại giá trị
[[Thể loại:Hàm Javasript]]
jo5csfzot8045boc1h4d7eo0d9b68mk
Thể loại:Hàm Javasript
14
110533
543557
2026-10-13T15:44:33Z
~2026-55000-54
19785
Trang mới: “[[Thể loại:Javasript]]”
543557
wikitext
text/x-wiki
[[Thể loại:Javasript]]
g0ayaavctb089u5h5x0qz2omfcgmnc8
543558
543557
2026-10-13T15:45:06Z
~2026-55000-54
19785
543558
wikitext
text/x-wiki
[[Thể loại:Sách Javasript]]
3123kizq4856y1ic9hlbp3mys4rz44f
543559
543558
2026-10-13T15:45:41Z
~2026-55000-54
19785
543559
wikitext
text/x-wiki
[[Thể loại:JavaScript]]
pcisc1lbgxxt9452wr53d8k7n697ifa