


I'm a newbie, please help me look at the second line and how to make the image span four lines, thank you! _html/css_WEB-ITnose
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
|
回复讨论(解决方案)
你这是要做简历么?
你的表格嵌套的有点多了,也很乱
看看这是不是你想要的:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><style>td{border:1px solid red;}</style></head><body><table><tr><td colspan="3">基本信息</td></tr><tr><td>姓名:</td><td>张三</td><td rowspan="4"><img src="/static/imghwm/default1.png" data-src="http://avatar.csdn.net/5/6/C/1_chddaa.jpg" class="lazy" alt="照片" title="照片" style="max-width:90%" height="100px"/></td></tr><tr><td>性别:</td><td>男</td></tr><tr><td>生日:</td><td>1986.12</td></tr><tr><td>学历:</td><td>本科</td></tr> </table></body></html>
不是弄简历 你能粘到你的编辑器帮我看看么
Are you making a resume?
Your table is a bit too nested and messy
See if this is what you want:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><style>td{border:1px solid red;}</style></head><body><table><tr><td colspan="3">基本信息</td></tr><tr><td>姓名:</td><td>张三</td><td rowspan="4"><img src="/static/imghwm/default1.png" data-src="http://avatar.csdn.net/5/6/C/1_chddaa.jpg" class="lazy" alt="照片" title="照片" style="max-width:90%" height="100px"/></td></tr><tr><td>性别:</td><td>男</td></tr><tr><td>生日:</td><td>1986.12</td></tr><tr><td>学历:</td><td>本科</td></tr> </table></body></html>
This is what you want Do you want to make a resume?
Your table is nested a bit too much and it’s very messy
Check to see if this is what you want:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><style>td{border:1px solid red;}</style></head><body><table><tr><td colspan="3">基本信息</td></tr><tr><td>姓名:</td><td>张三</td><td rowspan="4"><img src="/static/imghwm/default1.png" data-src="http://avatar.csdn.net/5/6/C/1_chddaa.jpg" class="lazy" alt="照片" title="照片" style="max-width:90%" height="100px"/></td></tr><tr><td>性别:</td><td>男</td></tr><tr><td>生日:</td><td>1986.12</td></tr><tr><td>学历:</td><td>本科</td></tr> </table></body></html>
Is it a nested comparison? How easy is it to go wrong?
Is it easier to cause problems if there are too many nested ones?
------
No, you won’t know it if you are familiar with it
Table
table merge cells colspan (across columns) and rowspan (across rows) such as: rowspan=4 across 4 rows
table merge cells colspan (across columns) and rowspan (across rows) For example: rowspan=4 Across 4 rows
Now each row has a

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 English version
Recommended: Win version, supports code prompts!

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver CS6
Visual web development tools

Notepad++7.3.1
Easy-to-use and free code editor

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