Comment les listes et les titres sont traités
Points clés
- Vérifiez
When turning a Word manuscript into HTML, it matters that headings and bullet lists convert properly. Convert Word to HTML converts headings and bullet lists into HTML headings and lists.
Étapes
- Choose a .docx with "Choose a Word file".
- Check in the "HTML" field that headings and lists are converted.
- Copy with "Copy HTML".
Parts made with Word's "Heading" styles and list features are converted.
Heading conversion
Word's "Heading 1", "Heading 2" and so on become HTML headings. The heading hierarchy carries over as it is.
- Heading 1 → major heading
- Heading 2 → medium heading
- Heading 3 → minor heading
Bullet list conversion
- "•" bullet lists → dotted lists
- "1. 2. 3." numbered lists → numbered lists
Tips for clean conversion
- Set headings with styles, not by enlarging the font
- Make bullet lists with Word's list feature, not by typing "•" on the keyboard
- Don't skip heading levels (Heading 3 right after Heading 1, etc.)
Examples of poor conversion
- Headings made by just enlarging text → become plain text
- Bullets typed by hand → become text
- Items indented with spaces → indentation is lost
Convient pour
- Publishing long articles with many headings on a blog
- Putting procedures on a web page as numbered lists
Exemple
Wrote a procedure document in Word as a numbered list. Converting to HTML put it in as a numbered list, and the numbers didn't break when pasted into the site.
Common stumbling blocks
- Headings aren't converted: they weren't set with styles.
- List levels break: set levels with Word's indent feature.
Frequently asked questions
Does the heading text size remain in the HTML?
No. It is decided by the site's design.
En résumé
Make headings and bullet lists with Word's features. Then they convert correctly to HTML.
Utiliser « Convertir Word en HTML » (gratuit)Outils complémentaires
- Extraire le texte d'un fichier Word: Extrayez le texte brut d'un fichier Word.
- Convertir CSV et JSON: Convertissez instantanément entre CSV et JSON.
- Compteur de caractères (candidatures et rapports): Comptez les caractères, les lignes et les feuilles de manuscrit de votre texte.
Si ce guide vous a aidé, un petit pourboire nous ferait très plaisir.
Laisser un pourboire (300 ¥)Offrir un cadeau (liste d'envies Amazon)