Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to change style of specific part in html

<!DOCTYPE html>
<html>

<head>
    <title>new</title>
    <style>
        #foo {
            color: blue;
        }
    </style>
</head>

<body>
for example you have two h1 but want to style one of them
to do that give it an Id

    <h1 id="foo">first title</h1>
    <h1>second title</h1>
</body>

</html>
Comment

how to change style of specific part in html

<!DOCTYPE html>
<html>

<head>
    <title>new</title>
    <style>
        #foo {
            color: blue;
        }
    </style>
</head>

<body>
for example you have two h1 but want to style one of them
to do that give it an Id

    <h1 id="foo">first title</h1>
    <h1>second title</h1>
</body>

</html>
Comment

PREVIOUS NEXT
Code Example
Html :: pills vertically with content on right 
Html :: asp display object list in table 
Html :: livewire wire:target multi target 
Html :: web development html chapter 1 
Html :: Html Count div tags any website 
Html :: html textarea placeholder multiple lines 
Html :: hide phpsessid wordpress plugin 
Html :: como crear una app con visual studio code 
Html :: alive 
Html :: visa card 
Html :: Tabbable nav 
Html :: toc bootstrap 
Html :: laravel route implicit binding 
Html :: sticky footer css grids 
Html :: hCards 
Html :: in line a frame animation 
Html :: thml text are 
Html :: sample html code for homepage 
Html :: bootstrap move navlink to left side 
Html :: sndl stock 
Html :: xbox roblox games 
Css :: css image to white 
Css :: no bullets in ul 
Css :: @media between two sizes 
Css :: show max word with css 
Css :: smooth scroll css 
Css :: add gradient to text css 
Css :: media query for mobile view css 
Css :: overflow text newline 
Css :: make text unhighlightable 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =