Simple web code used in NetEase blog_HTML/Xhtml_Web page production
代码在网易博客中的用法:首先登录博客--- 点击博客主页左上方的绿箭头---装扮博客----设置首页内容----添加自定义模块---这时窗口就会打开,代码就是在这里写的。把你复制的代码粘贴在这里,取一个模块名字确定即可这时就会马上在上页的第一行出现,如果你的代码没有
代码在网易博客中的用法:首先登录博客--- 点击博客主页左上方的绿箭头---装扮博客----设置首页内容----添加自定义模块---这时窗口就会打开,代码就是在这里写的。把你复制的代码粘贴在这里,取一个模块名字确定即可这时就会马上在上页的第一行出现,如果你的代码没有语法错误的话,然后你把模块拖到放在你想要的地方就行,然后别忘记点上保存。
一、超级链接
1、普通的超级链接(一点链接就从一个网页转到另一个网页)
显示的名字
解释:
地址:你要写上你要转到的目标,一定不要忘了半角引号。
target=_blank :为在新的窗口中打开
size="写号"
color="字体颜色" #D9D919为黄色
使用多行时换行命令
常用字体颜色代码如下:
1白色 #FFFFFF 2 红色 #FF0000 3 绿色 #00FF00
4 蓝色 #0000FF 5 牡丹红 #FF00FF 6 青色 #00FFFF
7 黄色 #FFFF00 8 黑色 #000000 9 海蓝 #70DB93
10 巧克力色 #5C3317 11 蓝紫色 #9F5F9F 12 黄铜色 #B5A642
13 亮金色 #D9D919 14 棕色 #A67D3D 15 青铜色 #8C7853
16 2号青铜色 #A67D3D 17 士官服蓝色 #5F9F9F 18 冷铜色 #D98719
19 铜色 #B87333 20 珊瑚红 #FF7F00 21 紫蓝色 #42426F
22 深棕 #5C4033 23 深绿 #2F4F2F 24 深铜绿色 #4A766E
25 深橄榄绿 #4F4F2F 26 深兰花色 #9932CD 27 深紫色 #871F78
28 深石板蓝 #6B238E 29 深铅灰色 #2F4F4F 30 深棕褐色 #97694F
2、图片的超级链接
解释:网络图片地址获取方法:打开图片在上面右击---属性---就会有图片地址。
width和height是控制图片长宽的命令,后的数值可以根据情况改动
It is a paragraph command and can be omitted when not in use.
is a line break
2. Insert video
1. How to transfer from video network such as youku tudou.
As mentioned above, open Add Custom Module --- Insert FLASH---- (code copied from websites such as youku tudou) and paste the code.
2. Put your own recorded videos or local videos into the podcast.
Most blogs now do not support putting videos directly into the blog, so we have to find separate ways.
My idea is to first go to youku or tudou to apply for space and upload the video you want. Then after obtaining the FLAH address of the video you uploaded, you can complete it by inserting it in the custom module.
Tudou application address: http://www.tudou.com/my/program/publish.php
The above method generally does not center the window. You can also use this "custom module" to enter the following code:
Explanation: width="100" and height="350" are the size of the video window, and the numbers can be adjusted.
3. Scroll friend link (this is also done using a custom module)
The code is as follows:
Explanation: The code consists of four sections. If you have multiple friends, please use the first section. If you want to leave some distance between the avatars, please use a space code after the second section of code.
right in direction= right can be replaced with (left from right to left), (right from left to right), (up from bottom to top), (down from top to bottom)
The links for multiple friends are as mentioned above:

The future of HTML will develop in a more semantic, functional and modular direction. 1) Semanticization will make the tag describe the content more clearly, improving SEO and barrier-free access. 2) Functionalization will introduce new elements and attributes to meet user needs. 3) Modularity will support component development and improve code reusability.

HTMLattributesarecrucialinwebdevelopmentforcontrollingbehavior,appearance,andfunctionality.Theyenhanceinteractivity,accessibility,andSEO.Forexample,thesrcattributeintagsimpactsSEO,whileonclickintagsaddsinteractivity.Touseattributeseffectively:1)Usese

The alt attribute is an important part of the tag in HTML and is used to provide alternative text for images. 1. When the image cannot be loaded, the text in the alt attribute will be displayed to improve the user experience. 2. Screen readers use the alt attribute to help visually impaired users understand the content of the picture. 3. Search engines index text in the alt attribute to improve the SEO ranking of web pages.

The roles of HTML, CSS and JavaScript in web development are: 1. HTML is used to build web page structure; 2. CSS is used to beautify the appearance of web pages; 3. JavaScript is used to achieve dynamic interaction. Through tags, styles and scripts, these three together build the core functions of modern web pages.

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Dreamweaver CS6
Visual web development tools

WebStorm Mac version
Useful JavaScript development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
