1. How to view the HTML source file of a web page: Click the [View]-[Source File] menu item to open a Notepad file. All the codes of the web page are displayed in the Notepad. You can also place the mouse anywhere on the web page, right-click the mouse, and select the [View Source File] menu item from the pop-up shortcut menu.
2. Why can’t I see any pictures in the source file of the web page: What is stored in the web page file is only the link location of the picture, while the picture file and the web page file are stored separately, and they may not even be on the same computer.
3. How to add background music to a web page: <embed src=”music.mp3” autostart=”true” loop=”true” hidden=”true”></embed”, where autostart, loop and hidden refer to respectively Whether to automatically play, loop and hide.
4. How to enter superscript and subscript in a web page: 1) Superscript: <sup>...</sup>; 2) Subscript: <sub>...</sub>.
5. Why is it recommended to use relative addresses: For example, there is an "index.htm" file, which references some pictures in the "image" directory. If you use "relative addresses" when referencing these images, you only need to upload the original set of things to the new space when you "move". Because the relative positional relationship between the files has not changed, these addresses are still valid. However, if an "absolute address" is used when inserting a picture, the space address changes and the picture path at the reference point also changes. Of course, "absolute addresses" are sometimes used, such as friendly links to other homepages, etc.
6. How to add active subtitles to a web page: The one with the least code is <marquee> Welcome! <marquee>, in addition, align: used to set the position of the active subtitles; bgcolor: used to set the color of the active subtitles; direction: used to set the scrolling direction; behavior: used to set the scrolling method; height: used Used to set the height of rolling subtitles; width: used to set the width of rolling subtitles; hspace and vspace are used to set the width of the left and right borders and the top and bottom borders of rolling subtitles respectively; scrolldelay: used to set the time between scrolling twice Delay time; loop is used to set the number of scrolls.
Statement:
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn