詩的網頁制作
工具:HBuilder
打開HBuilder,新建項目,項目命名:Html-02
打開新建項目里的index.html
在<body></body>里寫需要顯示到網頁的內容
代碼<body>里如下:
<body bgcolor="greenyellow">
<h3 align="center">靜夜思</h3>
<p align="center">作者:李白</p>
<p align="center">床前明月光</p>
<p align="center">疑似地上霜</p>
<p align="center">舉頭望明月</p>
<p align="center">低頭思故鄉</p>
</body>
注意:
<body>.......內容......</body> ------------->寫網頁顯示內容
bgcolor屬性表示網頁背景色
<h3>.........標題.....</h3> ----------------> 標題標簽為:<h1> <h2> <h3> <h4> <h5> <h6>
數值越小字越大
<p>............段落內容..........</p> ------------------>段落標簽:自動換行
<p align="center">.....................</p> ------------->align屬性表示段落內容的位置,有3個主要屬性,分別為:
left靠左對齊 right 靠右對齊 center 居中對齊
代碼截圖如下:
代碼截
運行效果截圖
運行效果
好了今天的課程就到這里了,喜歡的關注下噢,課下要多練,一起評論交流哈!
要
信息技術的發展帶來了大量的數據內容,在這些數據中,想要找到自己需要的只有通過搜索引擎。如今,通過百度去查找信息成為大眾的首選,然而在經濟利益的驅動下,許多百度來的信息都是商業內容,很難找到真實有用的實際信息。在中國古詩詞學習中,可以弘揚古詩詞傳統文化,增加個人的修為。因此,本文研究的中國古詩詞網站,在本網站中,用戶可以主動的發布古詩詞咨詢問題信息,獲取別人對該古詩詞問題的解答和討論,從而獲取想要的結果,提高了獲取信息的手段和效率,同時加強了用戶之間的相互交流溝通,促進了古詩詞信息化的發展。
本文先提出了開發中國古詩詞網站的背景意義,然后通過功能性和非功能性分析闡述本系統的需求,然后從功能設計和數據庫設計兩方面進行系統的設計建模。在技術實現部分采用了Java作為開發后臺的編程語言,數據庫選擇MySQL。最后進行了代碼的編寫,并說明了實現流程。最終,通過軟件測試來驗證中國古詩詞網站的功能要求。綜合表明,本中國古詩詞網站滿足了古詩詞學習的基本業務,幫助用戶及時了解古詩詞相關內容。
關鍵詞:古詩詞;傳統文化;交流平臺;Java;
Abstract
The development of information technology has brought a lot of data content. In these data, what you want to find is through the search engine. Nowadays, finding information through Baidu has become the first choice of the public. However, driven by economic interests, many information from Baidu is commercial content, so it is difficult to find real and useful practical information. In the study of ancient Chinese poetry, we can carry forward the traditional culture of ancient poetry and increase personal cultivation. Therefore, the Chinese ancient poetry website studied in this paper, in this website, users can actively publish the ancient poetry consulting problem information, obtain the answers and discussions of others on the ancient poetry problem, so as to obtain the desired results, improve the means and efficiency of obtaining information, strengthen the mutual communication between users, and promote the development of ancient poetry informatization.
This paper first puts forward the background significance of developing Chinese ancient poetry website, then expounds the requirements of the system through functional and non functional analysis, and then carries on the design modeling of the system from two aspects of functional design and database design. In the technical implementation part, Java is used as the programming language of the development background, and MySQL is selected as the database. Finally, the code is written and the implementation process is explained. Finally, through software testing to verify the functional requirements of Chinese ancient poetry website. The comprehensive results show that this Chinese ancient poetry website meets the basic business of ancient poetry learning and helps users understand the relevant contents of ancient poetry in time.
Keywords: ancient poetry; traditional culture; Communication platform; Java;
目 錄
摘要 I
Abstract II
1 緒論 1
1.1 選題背景 1
1.2 選題意義 1
1.3 研究內容 2
2 相關技術介紹 3
2.1 Java語言 3
2.2 Vue技術 3
2.3 Mysql數據庫 4
3 系統分析 5
3.1可行性分析 5
3.1.1 操作可行性 5
3.1.2 經濟可行性 5
3.1.3 技術可行性 5
3.2 需求分析 5
3.2.1非功能性需求 5
3.2.2功能需求 6
3.3 系統用例 6
3.3.1 會員功能需求 6
3.3.2 管理員功能需求 7
4 系統設計 9
4.1系統詳細設計 9
4.1.1功能設計 9
4.2.2后臺端流程設計 10
4.2.3前臺流程設計 12
4.2 數據庫設計 13
4.2.1邏輯結構設計 13
4.2.2物理結構設計 14
5 系統實現 18
5.1 古詩詞信息安全技術實現 18
5.2 后臺功能實現 18
5.2.1管理員登錄 18
5.2.2管理主界面 19
5.2.3古詩詞信息管理 20
5.2.4用戶管理 20
5.3 前臺功能實現 21
5.3.1會員注冊 21
5.3.2會員登錄 22
5.3.3古詩詞查看 22
5.3.4發布問題 23
5.3.5用戶回復評論 24
6 系統測試 26
6.1 測試說明 26
6.2 功能測試 26
6.3 測試說明 28
總結 29
參考文獻 30
謝 辭 32
選擇一個優秀的前端框架,可以節省很多的布局時間,并能夠高效率高質量的顯示數據內容,提高客戶的滿意度,在本系統中,選擇Vue前端框架。Vue是一套便于用戶使用的前端框架,采用漸進式模式進行設計,可以從底向上逐層應用。Vue的核心是基于Javascript的語言,Vue從試圖層出發創建頁面。
Vue可以和第三方進行整合。Vue.js兼具安angular.js和react.js優點,以數據驅動和組件思想構建,提供簡潔理解的API,可以快速的使用并上手。通過UI組件庫提高開發效率,并且可以提供豐富的樣式應用,性能方面也很出色。
Vue.js提供了強大的路由庫來設計大型的應用,Vue還提供了腳手架,甚至路由器可以很簡單的創建項目,將組件拆分,自封裝dom操作,用于獨特的單元,創建自己的視圖。Vue.js并不是一個前后臺的框架,他只限于視圖層,可以完美的設計單頁應用。Vue.js的主要特點包括以下幾個方面。
Vue.js是輕量級的框架,具有簡單靈活的API代碼,容易理解,上手快。
雙向數據綁定,采用簡潔的語法渲染DOM。
指令功能, Vue.js通過指令完成頁面交互組件化,通過主鍵擴展。
組件化,Vue.js封裝應用的代碼,根據實際需要創建組件,提高代碼應用率,減少編碼。
路由功能用于設定訪問路徑,將路徑和主鍵關聯時切換和跳轉狀態管理,對單項的速度進行重新渲染,形成單獨的組件。
Vue.js的應用也存在一定的缺點,比如的使用較少。他是一個比較新的前端框架,遇到問題很難找成熟的經驗進行解決。
這個項目收集了最全的中華古詩詞數據庫,包括唐宋兩朝近一萬四千位古詩人的作品,近5.5萬首唐詩和26萬首宋詩。此外,還包括了兩宋時期1564位詞人的21050首詞。
[官網]
為什么要做這個倉庫? 古詩是中華民族乃至全世界的瑰寶,我們應該傳承下去,雖然有古典文集,但大多數人并沒有擁有這些書籍。從某種意義上來說,這些龐大的文集離我們是有一定距離的。而電子版方便拷貝,所以此開源數據庫誕生了。此數據庫通過 JSON 格式分發,可以讓你很方便的開始你的項目。
宋詞受歡迎的詞牌名
宋詞高頻詞
宋詞作者作品榜
唐詩高頻詞
唐詩作者作品榜
宋詩高頻詞
宋詩作者作品榜
數據集
Github期刊匯總:
知乎項目推薦匯總:
以上就是本期項目的分享,如果你喜歡本期的內容,歡迎收藏和關注OpenGithub社區:https://open.itc.cn/,我們會定期推送優質的開源項目。
Github歷史期刊:https://github.com/OpenGithubs
*請認真填寫需求信息,我們會在24小時內與您取得聯系。