How to use code in NetEase Blog: First log in to the blog----Click the green arrow at the top left of the blog homepage---Dress up the blog---Set the homepage content---Add custom module---The window will open, and the code is written here. Paste the code you copied here, take a module name and confirm it, then it will appear on the first line of the previous page immediately. If your code does not have it
How to use code in NetEase Blog: First log in to the blog----Click the green arrow at the top left of the blog homepage---Dress up the blog---Set the homepage content---Add custom module---The window will open, and the code is written here. Paste the code you copied here, take a module name and confirm it, and then it will appear on the first line of the previous page immediately. If your code has no syntax errors, then drag the module to the place you want, and don't forget to click to save.
1. Hyperlink1. Ordinary hyperlinks (just a little link to transfer from one web page to another)
<a href= Address target=_blank ><font size=3 color=#D9D919> Name displayed</font></a> <br>
explain:
Address: If you want to write the target you want to transfer, don’t forget the half-width quotes.
target=_blank: to open in a new window
size=write number
color=Font color#D9D919 is yellow
<br> Line break command when using multiple lines
Common font color codes are as follows:
1 White #FFFFFF 2 Red #FF0000 3 Green #00FF00
4 Blue#0000FF 5 Peony Red#FF00FF 6 Cyan#00FFF
7 Yellow #FFFF00 8 Black #000000 9 Sea Blue #70DB93
10 Chocolate #5C3317 11 Blue Purple #9F5F9F 12 Brass #B5A642
13 Bright Gold#D9D919 14 Brown#A67D3D 15 Bronze#8C7853
16 No. 2 bronze #A67D3D 17 NCO uniform blue #5F9F9F 18 cold bronze #D98719
19 Copper #B87333 20 Coral Red #FF7F00 21 Purple Blue #42426F
22 Dark Brown #5C4033 23 Dark Green #2F4F2F 24 Dark Copper Green #4A766E
25 Deep Olive Green #4F4F2F 26 Deep Orchid Color #9932CD 27 Deep Purple #871F78
28 Deep Slate Blue #6B238E 29 Deep Lead Gray #2F4F4F 30 Deep Sepia #97694F
2. Hyperlink to the picture
<P align=center><A href=Returned address target=_blank><IMG alt= Prompt text src=Image address width=150 height=50 border=0></IMG></A></P> <br>
Explanation: How to obtain network image address: Open the image and right-click on it ---Properties ---There will be an image address.
width and height are commands that control the length and width of the picture. The subsequent values can be changed according to the situation.
<P> </P> is a paragraph command, which can be saved when not in use. <br>For a new line
2. Insert video1. Methods for transferring from video networks such as youku tudou.
As mentioned above, open the Add Custom Module----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2. Put your own recorded videos or local videos on the podcast.
Nowadays, most blogs do not support directly putting videos into blogs, so we need to think of individual solutions.
My idea is to first apply for a space on youku or tudou and upload the video you want. Then after obtaining the FLAH address of the video you uploaded, you can insert it in the custom module to complete it.
Tudou.com application address: http://www.tudou.com/my/program/publish.php
The above method is generally not centered on the window, and you can also use this custom module to enter the following code:
<center>
<embed allowScriptAccess=never allowNetworking=internal src=FLSAH video address pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash wmode=transparent quality=high width=100% width=100 height=350 autostart=0></embed>
</center>
Explanation: width=100 and height=350 are the sizes of the video window, and the numbers can be adjusted.
3. Scrolling friend link (this is also done with a custom module)The code is as follows:
<marquee behavior=scroll direction= right width=90% height=100 scrollamount=2 scrolldelay=30 >
<a target=cont href=Friend's blog address><img src=Friend's avatar or photo address width=100 height=100 border=0></a>
</marquee>
Explanation: The code consists of four segments. If there are multiple friends, please reuse the first segment. If you leave some distance between the avatars, please use the space code after the second segment of the code.
The right in direction= right can be replaced by (left from right to left), (right from left to right), (up from bottom to top), (down from top to bottom down)
The links to multiple friends are as follows:
<marquee behavior=scroll direction=right width=90% height=100 scrollamount=2 scrolldelay=30 >
<a target=cont href=Friend's blog address 1><img src=Friend's avatar or photo address 1 width=100 height=100 border=0></a>
<a target=cont href=Friend's blog address 2><img src=Friend's avatar or photo address 2 width=100 height=100 border=0></a>
<a target=cont href=Friend's blog address n><img src=Friend's avatar or photo address n width=100 height=100 border=0></a>
</marquee>
Don't forget to leave a message after reading it