About the billing big front-end HTML5 programming problem?

topic description

I encountered a bottleneck in programming the front-end HTML of the billing master

sources of topics and their own ideas

when I was compiling its navigation bar, I didn"t know how to make up its position and how to center it.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

< html lang= "zh-cn" >
< head >

<meta charset="UTF-8">
<title>indexHTML</title>
<link rel="stylesheet"href="css/style,css">

< / head >
< body >

< nav id= "nav" >

<section class="center">
 <h1 class="logo"></h1>
 <ul class="link">
     <li class="active"><a href="-sharp-sharp-sharp"></a></li>
     <li><a href=-sharp-sharp-sharp"></a></li>
     <li><a href="-sharp-sharp-sharp"></a></li>
     <li><a href="-sharp-sharp-sharp"></a></li>
     <li><a href="-sharp-sharp-sharp"></a></li>
     <li><a href="-sharp-sharp-sharp"></a><li>
 </ul>

< / section >
< / nav >
< header > header < / header >
< section > body < / section >
< footer > footer < / footer >

< / body >
< / html >

what result do you expect? What is the error message actually seen?

what I expect is that it is in the middle. But it leans to the left.

Apr.11,2021

< link rel= "stylesheet" href= "css/style,css" >

you wrote it wrong here. It is estimated that CSS has not been loaded at all.

besides, you'd better post the CSS code. It's hard to see where the problem lies.


clipboard.png

what the heck is a comma? Are you sure the style you wrote is effective?

Menu