Pourquoi mon code apparaît-il sous forme de texte (HTML utilisant vscode)

la programmation


Chaque fois que j’exécute le code, il charge une page vierge avec ~/ et un dossier avec mon code

Ce que j’ai essayé :

Ceci est mon code (** <—non inclus)

HTML
 **

	
		<title>CV
	
	
		<h1>Kenzo Kitembo</h1>
		<p>Software Engineer</p>
		
		<hr>
		<h2><ins>Summary</ins></h2>
		<p> My name is Kenzo and I'm a self taught SE looking forward to work with you!</p>
		<h2><ins>Experience</ins>
		 <li>Sololearn
		   <p><small> Learning Python and HTML alone as a teenager</small></p></li>		<li>Soon to be at College D
		   <p><small> Will be enrolling at D next year in the CS department</small></p></li>		
		
		<h2><ins>Skills</ins></h2>
		
			<table border="2"><tbody><tr>				<td>Languages</td>				<td>Python</td>				<td>HTML</td>			</tr>			<tr>				<td>Precise skill</td>				<td>OOP</td>				<td>Design</td>			</tr>		</tbody></table>

		<h2><ins>Contacts</ins></h2>
		<a href="https://opensea.io/collection/humans-of-the-universe" target="_blank">My Nfts</a>
		<a href="https://twitter.com/HumansoftheU" target="_blank">My twitter</a>
		
		<h2><ins>Write me a message</ins></h2>
		
			​Enter your information:<br><br>
			
			<br>
			
			<br>
			
			<br>
		
		<br>
		<br>
		
			<table border="2"><tbody><tr>				<td>Pleased to meet you!</td>			</tr>		</tbody></table>
		
		
**</h2>

Solution 1

La première chose que je remarque, c’est que votre <title> la balise n’est pas fermée.
Ce qui signifie que vous n’avez aucun corps HTML.

Il est fort possible que vérifier que vos balises correspondent toutes résoudra de nombreux problèmes.

Solution 2

Tu n’as pas html ni body balises non plus.

En d’autres termes, votre code HTML est très mal formé.



コメント

タイトルとURLをコピーしました