You have an HTML file. This is everything that comes after: saving it, changing it, checking it, and getting it in front of other people without paying for anything.
Everything below assumes you have already given the prompt to an AI and have its answer. That answer arrives in one of two shapes:
index.html, sometimes a name the AI chose for itself.Either way, the result is a single HTML file, and there is nothing else to it. No pictures, no web fonts, no links out to anywhere. Everything the page needs is inside the one file. That is deliberate: it means you will never have to upload a folder, and you will never discover at the last minute that something went missing.
prompt.txt, in the same folder as the page. It is your source. If you later want a different layout, or different wording, you edit the prompt and run it again — you do not retype twenty minutes of writing.
If you do not have the file yet: go back to the builder, fill in the form, copy the prompt, and paste it into whichever AI you use.
index.html. Every service that can put your page online looks for a file with exactly that name as the front page. Renaming it now, while you still remember where it is, removes a confusing step later.eporfolio/ will do — and put prompt.txt in there with it.If the AI gave you code rather than a file: paste it into a plain text editor and save as index.html, with the encoding set to UTF-8. If the editor offers ANSI, Big5 or GB2312 instead, say no — that is how Chinese text turns into garbage.
Open prompt.txt and edit your own words; they are only text. Run it through the AI again and you get a clean new page with no hand-editing scars. Use this route for adding an experience, changing the design, or changing the language of the page. It is almost always the better route, because the AI rebuilds the layout around your new content instead of you nudging it by hand.
> and <. Never touch anything between < and > — that part is instruction, not content.index-2026-10.html — the date in the name is enough — and edit a copy. If you break something, you have lost nothing, and re-running the prompt is still open to you.
A link is what makes the page useful to more than one person. You do not need a server, a domain name, or any money — you need a free account and about ten minutes. All three routes below want the same thing: a folder containing a file named exactly index.html.
index.html inside it.app.netlify.com. It is free and asks for no card. You can drop a folder without an account, but the site stays password-protected until you claim it — so if you intend to share the link, sign in first.app.netlify.com/drop and drag the whole folder onto the page.netlify.app. Open it and check that it works.yourname-eporfolio.netlify.app is usually available.eporfolio — or, for the shortest possible address, name it yourusername.github.io. Set it to Public. Create.index.html. Commit changes.main, folder / (root). Save.https://yourusername.github.io/eporfolio/.Workers & Pages → Create → Pages → Upload assets. Name the project, drag in the folder or a ZIP of it, and deploy. Your link ends in pages.dev. Vercel works the same way at vercel.com/drop. Use one of these if Netlify is slow, blocked where you are, or if you simply prefer the look of the address. The free tiers of all of them allow far more traffic than one page will ever see.
| Service | Free account | Link looks like | Updating | Best for |
|---|---|---|---|---|
| Netlify Drop | Yes | name.netlify.app | drag again | a link in the next ten minutes |
| GitHub Pages | Yes | username.github.io/name | upload again | a CV, a permanent address |
| Cloudflare Pages | Yes | name.pages.dev | drag again | when Netlify is not available |
| Google Sites | Yes (Google) | sites.google.com/… | edit inside Google Sites | a front page that gathers things |
Google Sites is a page builder, not a place to keep files. It will not accept your HTML file. That is the first thing to understand, because the other reading of it costs an hour.
Insert → Embed → Embed code, and paste the whole HTML in. It half-works, and half-working is worse than not working:
Keep one folder that is the truth. eporfolio/index.html, prompt.txt, and any notes you made. Back it up — your own cloud drive, or email it to yourself. The whole folder is a few hundred kilobytes.
Updating. Upload the new version and the link stays the same. If you still see the old page, your browser is showing you a cached copy: hard-refresh with Ctrl+Shift+R (⌘⇧R on a Mac). On GitHub Pages, allow a minute or two before you conclude anything is wrong.
More than one page. You can publish several pages from the same folder: index.html as a front page, then one file per experience, such as exchange.html and internship.html. Link between them with the file name alone — href="exchange.html" — and keep the capital letters identical, because these servers treat Exchange.html and exchange.html as two different files. A mismatched capital letter is the most common reason a link returns a 404.
Your own domain — optional, and not now. You can buy a domain for roughly HK$100 a year and point it at any of these hosts. Nothing above requires it, and a github.io or netlify.app address is completely normal on an application. Do this later, or never.
Taking it down. All three services let you delete the site. If you later decide the page should not be public, delete it — do not simply stop looking at it.
<meta charset="utf-8"> is the first line inside <head>. This nearly always happens after the file has passed through Word, an old copy of Notepad, or a plain-text field on a phone.index.html — on GitHub, Index.html is not the same thing — or it is sitting inside a subfolder. If you uploaded a folder called eporfolio into a project called site, the address is site.netlify.app/eporfolio/./ (root).你手上已經有一個 HTML 檔案。這頁講的是之後的所有事:存檔、修改、檢查,以及怎樣不花一蚊,把頁面交到別人手上。
以下所有步驟,都假設你已經把那段 prompt 交給 AI,並且拿到它的回覆。回覆通常是兩種樣子之一:
index.html,有時是 AI 自己改的名字。無論是哪一種,結果都是一個單一的 HTML 檔案,而且真的只有這一個。裏面沒有相片、沒有網路字體、沒有連去其他地方。頁面需要的一切都在這個檔案之內。這是刻意的設計:你永遠不必上載一整個資料夾,也不會在最後關頭才發現漏了一個檔案。
prompt.txt,放在與網頁同一個資料夾。它是你的來源檔——日後想換版面、換說法,你改 prompt 再跑一次就好,不必把二十分鐘寫過的東西重新打一次。
如果還未有檔案:回到 builder,填好表格,複製那段 prompt,貼進你慣用的 AI。
index.html。所有能幫你把網頁放上網的服務,都會把這個檔名當作首頁。趁你還記得檔案在哪裏的時候先改好,之後就少一個令人困惑的步驟。eporfolio/ 就好——把 prompt.txt 也放進去。如果 AI 給你的是程式碼而不是檔案:貼進純文字編輯器,另存為 index.html,編碼選 UTF-8。如果編輯器問你要不要用 ANSI、Big5 或 GB2312,一律不要——中文就是這樣變成亂碼的。
打開 prompt.txt,改裏面的文字,那些本來就是你寫的字。再交給 AI 跑一次,你會拿到一個乾淨的新頁面,沒有手改的痕跡。要加一段經歷、要換設計、要換頁面語言,都走這條路。它幾乎永遠是較好的一條,因為是 AI 重新按你的新內容編排版面,而不是你逐處用手去推。
> 與 < 之間的文字。< 與 > 之間的東西,一個字都不要碰——那部分是指令,不是內容。index-2026-10.html——檔名帶上日期就夠了——然後改副本。改壞了不會失去任何東西,而重新生成這條後路也一直在。
有了連結,這個頁面才可以給多過一個人看。這件事不需要伺服器、不需要網域、不需要付錢——只需要一個免費帳戶和十分鐘。以下三條路都要求同一件事:一個資料夾,裏面有一個檔名準確是 index.html 的檔案。
index.html 放進去。app.netlify.com 登入或註冊。免費,不需要信用卡。不登入也可以拖放,但網站會先鎖上密碼,要認領之後才可以公開——所以想分享連結的話,先登入。app.netlify.com/drop,把整個資料夾拖到頁面上。netlify.app 結尾的網址。開來檢查一下。yourname-eporfolio.netlify.app 都仍然可用。eporfolio;想網址最短,就叫 yourusername.github.io。設為 Public,然後 Create。index.html 拖進去,Commit changes。main,資料夾選 / (root),然後 Save。https://yourusername.github.io/eporfolio/。Workers & Pages → Create → Pages → Upload assets。改個項目名稱,把資料夾或它的 ZIP 拖進去,Deploy。網址以 pages.dev 結尾。Vercel 的做法一樣,在 vercel.com/drop。如果 Netlify 慢、在你所在的地方被擋,或者你純粹喜歡另一個網址的樣子,就換這個。三者的免費額度都遠遠超過一個頁面會用到的流量。
| 服務 | 免費帳戶 | 網址的樣子 | 更新方法 | 最適合 |
|---|---|---|---|---|
| Netlify Drop | 要 | name.netlify.app | 再拖一次 | 十分鐘內要拿到一條連結 |
| GitHub Pages | 要 | username.github.io/name | 再上載一次 | 放 CV、要長期使用 |
| Cloudflare Pages | 要 | name.pages.dev | 再拖一次 | Netlify 用不到的時候 |
| Google Sites | 要(Google) | sites.google.com/… | 在 Google Sites 內改 | 做一個門面把東西集合起來 |
Google Sites 是一個網頁編輯器,不是存放檔案的地方。它不會接受你的 HTML 檔案——這是最先要弄清楚的一點,因為另一種理解會花掉你一個鐘。
「插入」→「嵌入」→「嵌入程式碼」,把整份 HTML 貼進去。這樣做有一半行得通,而「一半行得通」比完全不行更麻煩:
保留一個「真身」資料夾。eporfolio/index.html、prompt.txt,加上你寫過的筆記。備份一份——放進你自己的雲端,或者寄給自己。整個資料夾只有幾百 KB。
更新。上載新版本,連結不變。如果仍然看到舊版本,是瀏覽器的快取:按 Ctrl+Shift+R(Mac:⌘⇧R)強制重新載入。GitHub Pages 的話,先等一兩分鐘再判斷有沒有出錯。
多過一頁。同一個資料夾可以發布幾頁:index.html 做首頁,然後每段經歷一個檔案,例如 exchange.html、internship.html。互相連結時只寫檔名——href="exchange.html"——而且要大小寫完全一致,因為這些伺服器會把 Exchange.html 與 exchange.html 當成兩個不同的檔案。一條連結 404,最常見的原因就是大小寫不同。
自己的網域——可選,而且現在不必想。你可以用大約每年 HK$100 買一個網域,指向上面任何一個服務。上面所有做法都不需要它,而 github.io 或 netlify.app 的網址放在申請表上,完全正常。這件事留到日後,或者永遠不做。
想收回。三個服務都可以刪除網站。日後如果你覺得這一頁不應該公開,就刪掉它——不要只是不再看它。
<meta charset="utf-8"> 是不是 <head> 裏的第一行。這種情況幾乎都是在檔案經過 Word、舊版記事本,或者手機上的純文字欄位之後出現的。index.html——在 GitHub 上,Index.html 並不等於 index.html——或者檔案藏在子資料夾裏。如果你為一個叫 site 的項目上載了一個叫 eporfolio 的資料夾,網址就是 site.netlify.app/eporfolio/。/ (root)。