Ⅰ 求xx市公交線路查詢系統的源代碼,用java寫
你想多了 !!!
Ⅱ 如何用html編寫一個簡單的網頁
簡單的html網頁可以直接利用文本編寫的,無需下載特定編輯器。
1、在我們的windows操作系統中,桌面上滑鼠右鍵新建一個txt文本,並命名為"最簡單網頁",只是便於標識,實際上並不影響我們的操作。注意我們需要提前在文件屬性中把擴展名顯示出來。
Ⅲ 如何獲取一個網頁完整的HTML代碼
在頁面上 右鍵->查看頁面源代碼
然後 全選 復制粘貼
Ⅳ 誰有城市公交線路查詢系統換乘的源代碼,急求。(資料庫是SQL. SERVER 工具是vs200
1、config.php(功能說明:存儲一些在整個程序中要用到全局變數。)
<?
$hostname="localhost";
$db_user="root";
$db_password="faleier2046007";
$db_name="bus";
$table_Stop="bus_stop";
$table_Route="bus_route";
$table_Stop_Route="bus_stop_route";
$table_RouteT0="bus_routet0";
$table_GRouteT0="bus_groutet0";
$table_nochange="temp_nochange";
$table_once="temp_once";
$table_twice="temp_twice";
?>
2、conn.php(功能說明:實現與資料庫的連接。)
<?php
require_once "config.php";
@mysql_connect($hostname,$db_user,$db_password)
or die("could not connect to mysql server");
@mysql_select_db("$db_name") or die("could not select database");
13/22頁
mysql_query("set character set gb2312");
?>
3、index.php(功能說明:程序首頁,查詢輸入界面。) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <TITLE> 六安公交查詢系統 </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY background="images/bj.gif">
<script type="text/javascript" src="js/main.js"></script>
<link href="css/bus.css" rel="stylesheet" type="text/css"
media="screen" /><link href="css/bus1.css" rel="stylesheet" type="text/css" media="screen" />
<table border=0 align=center>
<tr>
<td height=100>
</td>
</tr>
<tr>
<td>
<TABLE border=0 align=center height=300 width=630 bgcolor="#EDF3CD"> <tr>
<td colspan=3 align=center height=25%>
<img border="0" src="images/banner.jpg" width="400" height="75"></td> </tr>
<tr>
<td width=231 rowspan="3">
<table border=0>
<tr>
<td>
<?php
require "conn.php";
$query_all_path="select distinct(RouteGenName) from $table_Route"; $info=mysql_query($query_all_path);
while($it=mysql_fetch_array($info))
{
echo "<a
14/22頁
href=searchpath.php?path=$it[RouteGenName]>".$it['RouteGenName']."</a>"." ";
}
?>
</table >
</td>
<td width=4 height="19">
</td>
<td width="381" rowspan="3">
<div class="headRi">
<div class="headMenu">
<span id="it_1" onclick="ishow('it',3,1,'open','')" class=
Ⅳ 什麼是html網頁源代碼用什麼方法查看網頁源代碼
第一種:打開一個網頁後點擊滑鼠的 右鍵就會有"查看源文件",操作 滑鼠右鍵--->查看源文件 即可彈出一個記事本,而記事本內容就是此網頁的html代碼。
第二種:通過瀏覽器狀態欄或工具欄中的點擊 「查看」然後就用一項「查看源代碼」,點擊查看源代碼即可查看此網頁的源代碼源文件。
Ⅵ 12、在瀏覽器里怎樣查看HTML網頁的源代碼.
在瀏覽器里,有幾個辦法可以查看HTML網頁源代碼:
1、右鍵點擊瀏覽器的空白處,選擇【查看源代碼】;
Ⅶ 如何獲取網頁html源碼
用瀏覽器,例如 IE,
進此網站 (File->Open 網頁地址)
點 瀏覽器 的 View-〉Source , 網頁html源碼 全在 一個 文本窗里了。存下來 便是。
Ⅷ 怎麼打開HTML網頁源碼文件窗口
你要是用的是火狐的瀏覽器,你可以右擊-選擇查看頁面源代碼即可看到網頁源文件。如果你的是ie瀏覽器的話,你可以點擊瀏覽器右上角的「頁面」-查看源文件即可打開網頁源文件窗口
Ⅸ 怎樣取得網頁中的HTML源代碼
1、瀏覽器打開網頁,右鍵-》查看源代碼
以上兩種方法,選擇其一即可。