创建个人网页
利用github创建个人网页
Upload image file
- 使用Github做一个完全免费的个人网站(步骤很细) - 霸都丶傲天的文章 - 知乎
- Upload to Imgur :
- Go to Imgur.
- Click on the "New post" button at the top.
- Drag and drop your image or click "Choose Photo/Video" to upload.
- Once the image is uploaded, right-click on it and select "Open image in new tab".
- Copy the URL from the new tab.
- Upload to Google Photos :
- Go to Google Photos.
- Click on the "Upload" button and select your image.
- Once uploaded, open the image, click on the three-dot menu in the top right corner, and select "Share".
- Click "Create link" and then copy the link provided.
- Paste the link in a new tab, right-click the image, and select "Copy image address".
Once you have the URL of your image, replace https://www.example.com/background.jpg
in the CSS with your actual image URL.
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
background-image: url('YOUR_IMAGE_URL_HERE');
background-size: cover;
background-attachment: fixed;
margin: 0;
padding: 0;
color: #333;
}
Upload pdf file
- Upload to Google Drive :
- Go to Google Drive.
- Click on the "New" button and select "File upload".
- Choose your PDF file and upload it.
- Get Shareable Link :
-
Once the file is uploaded, right-click on it and select "Get link".
-
Change the link settings to "Anyone with the link" and set the access to "Viewer".
-
Copy the provided link.
2.Relative URL for the PDF :
resume.pdf
is a relative URL that links to theresume.pdf
file located in the same directory as theindex.html
file.
<p><a href="resume.pdf" target="_blank">View my CV</a></p>
Tips
- On every website, you can right click it in the blank and see the html code.
- You can create a html file in txt file and then change its name as .html, then you can open it in browser.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构