Tùy Chỉnh Trang Web Công Cộng Của Bạn Bằng Cách Sửa Nguồn

Bỏ qua để tới nội dung chính Đăng nhập với Microsoft Đăng nhập hoặc tạo một tài khoản. Xin chào, Chọn một tài khoản khác. Bạn có nhiều tài khoản Chọn tài khoản bạn muốn đăng nhập. Tiếng Anh Chúng tôi rất tiếc. Bài viết này không có bằng ngôn ngữ của bạn. Áp dụng choSharePoint trong Microsoft 365 Office dành cho doanh nghiệp Office 365 Small Business

Important: As of March 31, 2018, the SharePoint Online public website feature has been discontinued. Links that point to discontinued topics have been removed.

If you’ve been using the web page editor to change the general layout and appearance of a web page but still haven’t got the look and feel you want, adding your own HTML code may be the answer. Adding to or editing the HTML that underlies a web page helps you further customize your public site according to your taste and requirements, so you can achieve the engaging site you have in mind. For example, you can:

  • Change page design, by adding a frame around a block of text.

  • Make the footer on every page work for you, by adding a special font style or size.

  1. Check your code to make sure it’s valid and complete before you add it to the source.

  2. Logon to your public website and go to the page you want to edit.

  3. Click Page > Edit and then from the Format Text tab, click Edit Source.

  4. Locate the position where you want to insert the block of code. You may need to delete code that you want to replace or remove. The page you see will look something like this, with a cursor marking the insertion point for new code:

    Cursor marking insertion point for new code

  5. Enter the HTML code.

    Important:  HTML code is not validated when you add it to your web page. Errors in the HTML code can cause a web page to display incorrectly.

  6. Click OK.

  7. After you insert the HTML code, verify that everything appears as you expect.

    • If the page looks correct, click Page > Save > Save, and then open the page in a new browser window to confirm.

    • If you experience problems you can’t resolve, then do not save the page. Instead, click Page > Save > Stop Editing > Cancel.

Facebook LinkedIn Email

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

DiscoverCommunity

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Microsoft 365 subscription benefits

Microsoft 365 training

Microsoft security

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Ask the Microsoft Community

Microsoft Tech Community

Windows Insiders

Microsoft 365 Insiders

Thông tin này có hữu ích không?

Có Không (Gửi ý kiến phản hồi cho Microsoft để chúng tôi có thể trợ giúp.) Điều gì ảnh hưởng đến trải nghiệm của bạn? Đã giải quyết vấn đề của tôi Hướng dẫn Rõ ràng Dễ theo dõi Không có thuật ngữ Hình ảnh có ích Khác Không khớp với màn hình của tôi Hướng dẫn không chính xác Quá kỹ thuật Không đủ thông tin Không đủ hình ảnh Khác Bất kỳ thông tin phản hồi bổ sung? (Không bắt buộc) Gửi phản hồi Khi nhấn gửi, phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Người quản trị CNTT của bạn sẽ có thể thu thập dữ liệu này. Điều khoản về quyền riêng tư.

Cảm ơn phản hồi của bạn!

×

Từ khóa » Cách Chèn Html Vào Web