Home >Web Front-end >HTML Tutorial >Chuanzhi Podcast 2017 version takes you through HTML video materials (source code, courseware) sharing in 3 days
"Chuanzhi Podcast 2017 Edition takes you through HTML video tutorials in 3 days" is the latest video tutorial in 2017. The tutorial is step by step in-depth and leads everyone to learn HTML knowledge and understand the meaning and basic usage of various commonly used tags. This will lay the foundation for subsequent case lessons.
Course playback address: http://www.php.cn/course/574.html
The teacher’s teaching style:
The teacher’s lectures are simple, clear, layer-by-layer analysis, interlocking, rigorous argumentation, rigorous structure, and use the logical power of thinking to attract students’ attention Strength, use reason to control the classroom teaching process. By listening to the teacher's lectures, students not only learn knowledge, but also receive thinking training, and are also influenced and infected by the teacher's rigorous academic attitude.
The more difficult points in this video are the introduction and scrolling of Dreamweaver Text:
Rolling subtitles will make many people excited, especially when they use rolling subtitles for the first time, they will not be able to put it down. Now make a detailed plan to give you a more comprehensive understanding.
Rolling subtitles are included in FrontPage components, but FrontPage software can only support single lines of text. Once multi-line text appears, it cannot do anything, and it can only support one line of scrolling! (If it appears, only one line of text can be scrolled. In this case, the solution is to embed this code into JavaScript document.write. Please see the detailed description of the example below) Dreamweaver can only use the method of writing HTML code. Therefore, it is strongly recommended to use Notepad to open the source code of the web page for editing.
1. Create the first rolling subtitle. Code:
<marquee scrollAmount=2 width=300>滚动字幕</marquee>
2. Detailed explanation of each parameter:
a) scrollAmount. It represents speed, the larger the value, the faster the speed. If it is not available, the default is 6. It is recommended to set it to 1 to 3.
b) width and height, indicating the size of the scrolling area, width is the width, and height is the height. Especially when doing vertical scrolling, the height value must be set.
c)direction. Indicates the direction of scrolling, the default is from right to left: ←←←. Optional values are right, down, and up. The scrolling directions are: right means →→→, up means ↑, and down means ↓.
d) scrollDelay, which is also used to control the speed. The default is 90. The larger the value, the slower the speed. Usually scrollDelay does not need to be set.
e)behavior. Use it to control attributes. The default is circular scrolling. Optional values are alternate (alternating scrolling) and slide (slide effect, which refers to scrolling once and then stopping scrolling)
3. Example:
a) How to add a hyperlink to rolling subtitles? This is exactly the same as usual hyperlinks. Just add
<marquee scrollAmount=2 width=300><a href=http://www.cctv.com>中央电视台</a></marquee>
outside the text. Here we also recommend downloading materials: http://www.php.cn/xiazai/learn/2108
In the information, we share with you the video tutorial courseware and source code
The above is the detailed content of Chuanzhi Podcast 2017 version takes you through HTML video materials (source code, courseware) sharing in 3 days. For more information, please follow other related articles on the PHP Chinese website!