How to Link CSS to HTML Document

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • In this tutorial we'll take a quick look at how you can link your .css document directly to your HTML document so you can begin writing CSS code that will style and beautiful your HTML content. Check it out and give the video a thumbs up if you enjoy it! Thanks!
    💰 Support the Channel and use WP Engine for your website! → bit.ly/3Yoqgpu
    📸 INSTAGRAM → / thenathanieldodson
    / tutvid

Комментарии • 249

  • @nkosikhonadube241
    @nkosikhonadube241 9 дней назад +1

    Thanks man. Just as i was about to give up and submit a basic website for my assignment i stumbled upon your video now I can properly design my website.

  • @zomchick0954
    @zomchick0954 4 года назад +116

    Great tutorial, no messing around just tells me how to do it 10 out of 10.

  • @pushparajnule
    @pushparajnule 8 месяцев назад +40

    8 years ago💀

  • @joshuadonnelly7473
    @joshuadonnelly7473 4 года назад +19

    I’m literally in the middle of a mid term amazing video dude

  • @luisvillanueva1587
    @luisvillanueva1587 3 года назад +8

    Thank you!!! I'm Struggling Doing This Before Thank You For This Tutorial This Is So Useful ❤️

  • @haz2077
    @haz2077 3 года назад +35

    It's annoying knowing how paid teachers can't teach shit while a minute-long video does more.

    • @mafiask575
      @mafiask575 7 месяцев назад +1

      real shii maneh🤣

  • @andrewneumann9679
    @andrewneumann9679 2 года назад

    My teacher fucking sucks at teaching and I’ve been trying to do this for the last 3 class periods and this video helped me out so much. Thank you

  • @max_vantastic6740
    @max_vantastic6740 5 лет назад +4

    Super helpful, pleas make way more, they are awesome. Just what I was looking for.

  • @tadeuvieira319
    @tadeuvieira319 2 года назад +2

    Straightforward to the point. Perfect!

  • @devplusplus-59
    @devplusplus-59 2 месяца назад

    No BS, just straight to the point❤

  • @ethanallred2543
    @ethanallred2543 3 года назад +1

    Thank you! I feel stupid now, because I forgot to do that, but this helped me remedy that! Thanks again!

  • @tieeieita2735
    @tieeieita2735 7 лет назад +2

    fast and simple... Love it ...Keep posting more tutorials. THUMBS UP!!

  • @LooseCannon123
    @LooseCannon123 11 месяцев назад +1

    Thanks so much for being straight to the point and very helpful.

  • @toothfairy5352
    @toothfairy5352 4 года назад +3

    Quick. Simple. Thank you.

  • @teck6492
    @teck6492 3 года назад +8

    Clear, concise and easy to understand. Thank you sir.

  • @teshki1449
    @teshki1449 4 года назад +2

    thanks, finally! shortly, clearly and useful!

  • @animationtime9523
    @animationtime9523 4 года назад

    hey found you on google your video is so short and helpful i was a coder and cam back so thanks man

  • @melisasanchez2145
    @melisasanchez2145 2 года назад +1

    THANK YOU SO MUCH!!!!! this was easy and so good! Lifesaver!

  • @ardraa9108
    @ardraa9108 Год назад

    I watched many vdos to correct this mistake.. But didn't get it.. But now, i solved it.. Thankyou

  • @ET-oq1vj
    @ET-oq1vj 3 месяца назад

    yt should invent a super like button for videos like this.

  • @LIG87
    @LIG87 Год назад +1

    Thank you for this! straight to the point

  • @tanakakazuki7307
    @tanakakazuki7307 4 года назад

    Thanks A Lot man. I was fucked up learning myself and finally found the solution from you. Keep going on!!

  • @vernevens1598
    @vernevens1598 Год назад

    Thank you very much. I was having trouble getting the html to link. Works now.

  • @Ferrebsol
    @Ferrebsol 4 года назад

    Fast. To the point. Worked for me. Have a like!

  • @elite.marwan
    @elite.marwan Год назад

    This man solved me a life crisis ✅thx

  • @danabram
    @danabram 5 лет назад +126

    I am here because I did that and it still doesn't work!

    • @ratch3671
      @ratch3671 5 лет назад +1

      most likely because you should not have HTML code in the CSS file like

    • @JoelPlay
      @JoelPlay 5 лет назад +31

      @@ratch3671 were not idiots omg

    • @Vasu-b9j
      @Vasu-b9j 5 лет назад +1

      solved it ? please tell me the solution ?

    • @suyashpatni4032
      @suyashpatni4032 5 лет назад +6

      Maybe its because your CSS file and HTML file are not in the same directory

    • @kaizarbharmal3556
      @kaizarbharmal3556 5 лет назад +2

      @@suyashpatni4032 they are

  • @taharanger-yj6mo
    @taharanger-yj6mo 5 месяцев назад +1

    Thanks brooooo love u a lot
    My problem with vscode is solved❤

  • @coolperson213
    @coolperson213 2 года назад

    thanks, im new to programming and this helped me out a bunch thanks a lot! :)

  • @jiratest5656
    @jiratest5656 2 года назад

    Thank you very for my quick fix in my html to css. great video

  • @himanshi3745
    @himanshi3745 3 года назад +1

    Thank you sooooo much!!! This is very helpful and it worked!!! Thanks!!

  • @alim7532
    @alim7532 4 года назад

    Very easy and straight forward wonderful maaan!

  • @Asif-fr4jg
    @Asif-fr4jg 7 лет назад +1

    Thanks man...Really appreciate the help.

  • @itskishank
    @itskishank 5 лет назад

    Liked the video because of the Adventure Machine mix Intro you used there.

  • @SpookyKillerz
    @SpookyKillerz 8 лет назад +10

    Thanks for the video! More code vids please.

  • @brianjaimes2048
    @brianjaimes2048 6 лет назад +1

    A great help for us newbs. Thanks!

  • @ashishphoolbhati5782
    @ashishphoolbhati5782 4 года назад

    thank you tautvid.. it really worked

  • @hannahakino1177
    @hannahakino1177 5 лет назад

    Yo.....big ups man.......this video had really helped me.
    Thanks alot✌💪

  • @FeazzyHD
    @FeazzyHD 7 лет назад +2

    Thanks for the help!

  • @amrik9614
    @amrik9614 5 лет назад +11

    still doesnt work

    • @primefulkai5645
      @primefulkai5645 5 лет назад +2

      For those that it still does not work i think i found a solution.
      HTML


      Hello World



      Website Test
      CSS Test

      -------------------
      body
      h2{
      color: red;
      font-size: 70px;
      margin: 0px;
      background-color: blue;
      text-align: center;
      }
      What i did to get it to work is not add brackets for body. So instead of body{} i just did not give it any brackets instead i put brackets on one of the headers. If you want copy and paste this code and you will see what i mean. The problem is not the linking its the css code

    • @Badboy20400
      @Badboy20400 4 года назад +1

      @@primefulkai5645 THANK YOU SO MUCHHHHHHHHHH

    • @primefulkai5645
      @primefulkai5645 4 года назад

      @@Badboy20400 Noo problem

    • @darklordhyper
      @darklordhyper 4 года назад

      @@primefulkai5645 What does it mean

    • @mdmasudurrahman4659
      @mdmasudurrahman4659 4 года назад

      @@primefulkai5645 many many thanks

  • @sirfmgamer5655
    @sirfmgamer5655 3 года назад

    Yes. Very well explained and in less than 2 minutes :)

  • @Thatmaca
    @Thatmaca 2 года назад +1

    thanks

  • @kylanicoleelecho6476
    @kylanicoleelecho6476 Год назад

    Thankssss great help!

  • @Romeo777gaming
    @Romeo777gaming 3 года назад

    thankyou bro you helped me for this doubt

  • @icooldiamond
    @icooldiamond 2 года назад

    when a teacher teaches this in 3 hours while this madlad did it in 1:37

  • @edgybirbfinn6950
    @edgybirbfinn6950 Год назад

    thank you! this really helped!

  • @joanwinter6525
    @joanwinter6525 Год назад

    That was the fastest I've ever learned something

  • @eswar9255
    @eswar9255 4 года назад

    i subscribed with in first 2sec of your voice without observing without any thing very much attractive voice

  • @Moskov_
    @Moskov_ 4 года назад +1

  • @samsure2003
    @samsure2003 8 лет назад +4

    thank you this helped me so much
    i have a request. can you record while coding a profesional website

    • @animationtime9523
      @animationtime9523 4 года назад

      hey this is not my main channel i usually work on but i am thinking about it are you still into watching someone do that or not

  • @savaavavaa2126
    @savaavavaa2126 Год назад

    You are a life saver ❤

  • @Tarawaraa
    @Tarawaraa 3 года назад

    Man, if I did not thank you I am not faithful. Thanks for this jannock tip(s)

  • @mohammedamer7896
    @mohammedamer7896 2 года назад

    when linking css file in html get: ---localhost refused to connect---
    but when i put style in html it works
    DON'T KNOW WHY?

  • @barthelemypeter9144
    @barthelemypeter9144 6 лет назад

    Thanks for the Help!!

  • @GetTheMet
    @GetTheMet 6 лет назад

    Great video. Thank you!

  • @beksman0284
    @beksman0284 3 года назад

    It worked, Thanks!

  • @agent6467
    @agent6467 6 лет назад

    Thanks! I just subscribed!!!

  • @holincrystal746
    @holincrystal746 7 лет назад +2

    You're my man!!!

  • @naimaahmed4994
    @naimaahmed4994 4 года назад

    Get it? Got it! Good!
    Good phrase

  • @rahulwangekar9685
    @rahulwangekar9685 4 года назад

    it helped me out thanks

  • @taylorcason4077
    @taylorcason4077 7 месяцев назад

    OMG Thanks so much!

  • @laxmimuttennavar3872
    @laxmimuttennavar3872 3 года назад +1

    Thank you sir

  •  4 года назад +1

    Can i say for an example
    Text/java?
    Or not?

  • @pusangering69
    @pusangering69 Год назад

    thanks for this got my problem solved

  • @grneyefin
    @grneyefin 5 лет назад

    Get it...got it...good! 😁👍

  • @sensiii854
    @sensiii854 4 года назад

    thanks for the help bro ;)

  • @bainsonic
    @bainsonic 8 лет назад +7

    Hey great video :)
    btw do you know adobe brackets and if so is there a specific reason you use dreamweaver and not brackets?
    would be interested to hear your thoughts since I worked a lot with dw in the past but nowadays I find myself working more and more with brackets :)

  • @emmanuelamoh7181
    @emmanuelamoh7181 5 лет назад

    Thanks for the clarification :D

  • @maxlegend1374
    @maxlegend1374 7 лет назад +18

    man for the love of god lol i need some help my css is not linking to
    the html ive tried everything searched high and low on the web lmao like
    damn why me

  • @luke21x6
    @luke21x6 Год назад

    Great video, but it would of been better if you zoomed in the screen on the stuff that your talking about.

  • @fandetomate
    @fandetomate Год назад

    thank you, i'd like you by your type of learning for lay people

  • @SUPERNOVA0083
    @SUPERNOVA0083 3 года назад +1

    thanks !

  • @MarcoBiedermann
    @MarcoBiedermann 8 лет назад +1

    You can actually remove the type attribute on the link element. It has no use any more

  • @killerstang71
    @killerstang71 6 лет назад

    val la it works!! Great vid

  • @hariharpatel1075
    @hariharpatel1075 4 года назад +1

    Tell me which editor do you run

  • @darrenglenn2806
    @darrenglenn2806 10 месяцев назад

    Great video

  • @BansalHirdyansh
    @BansalHirdyansh Год назад

    just dont do any typing mistakes in rel="stylesheet" it is also a key factor. (i was stupid and doing it wrong thats why i wanted to tell this)

  • @laurastenhouse5949
    @laurastenhouse5949 5 лет назад

    Perfect! Thank you very much

    • @tutvid
      @tutvid  5 лет назад

      Glad you enjoyed it, Laura!

  • @user-ts3wc6df3w
    @user-ts3wc6df3w 3 года назад

    Short and clear

  • @cinevapemonociclu5596
    @cinevapemonociclu5596 5 лет назад

    Good tutorial😀😀😀

  • @YonikWo
    @YonikWo 8 лет назад +1

    I fucked up so hard, I just forgot that stylesheet xD thanks :)

  • @bernardappiah2780
    @bernardappiah2780 4 года назад

    Thanks it worked

  • @hansrajmanjre1836
    @hansrajmanjre1836 Год назад

    Hi sir! really appreciate the tutorial but could you create a video on how to type the code i n css

  • @kalMHe
    @kalMHe 5 лет назад

    Thank you very much !

  • @techmaster90
    @techmaster90 8 месяцев назад

    Question: Where does the linked CSS code attach in the HTML when using the Link tag? What format or text structure does it form? Does it attach at the top inside the header? or does it attach at the bottom of the HTML document? Where can I find more info on this? Please and thank you.

  • @Loislyrics
    @Loislyrics 10 месяцев назад

    Thank you 😊

  • @as-vc2eu
    @as-vc2eu 7 лет назад +1

    Thanks! :D

  • @fidashnakher8942
    @fidashnakher8942 3 года назад

    HUGE THANKSSSSSSSSSSSSS :)

  • @Nature_coner
    @Nature_coner 4 месяца назад

    Is there an alternative to link to a style sheet to an html file other that the “link attribute

  • @gabrielleholt1863
    @gabrielleholt1863 3 года назад

    Victoryyyy. Lol an incredibly small victory, but I'm counting it nonetheless

  • @wawin8053
    @wawin8053 Год назад

    you are good person

  • @AnitasPomeranians
    @AnitasPomeranians Год назад

    Love you 😮

  • @mylesx
    @mylesx 11 месяцев назад

    Thank you boss🫡

  • @neoluddite5676
    @neoluddite5676 6 лет назад

    Thanks that helps

  • @ammarhasan9907
    @ammarhasan9907 11 месяцев назад

    thank you so much

  • @raiyyan8514
    @raiyyan8514 4 года назад

    Worked for me

  • @kyletaghoy549
    @kyletaghoy549 3 года назад

    Thank you.

  • @b4ptie849
    @b4ptie849 3 года назад

    THANK YOU!!!!!!!!!

  • @souljahwitch9317
    @souljahwitch9317 4 года назад

    thanks you so much

  • @seyahatdeneyimleri
    @seyahatdeneyimleri 5 лет назад

    Thank u so much :)

  • @StonyCodes
    @StonyCodes 2 года назад

    beginner here - what's he doing with the asterisk on the stylesheet?