The BEST Way to Build a Header! [HTML,CSS]

  Рет қаралды 355,105

Marc Hinton

Marc Hinton

5 жыл бұрын

Code:
github.com/marc-hinton/TheBes...
Instagram:
/ itsmarchinton - @itsmarchinton
In this video, I mention how you should revisit and rethink how you build different elements of a page and work on them to make them as clean, responsive and as efficient as possible.
If you have a better way of building a basic HTML header then leave a comment!

Пікірлер: 426
@muffinman5958
@muffinman5958 4 жыл бұрын
as someone who literally doesnt know how to code css and html this was very helpful especially after my teacher decided to let us figure it out on our own.
@marchinton
@marchinton 4 жыл бұрын
I'm glad you find these videos useful!
@psychederik
@psychederik Жыл бұрын
shoutout to Brian Yu
@michaelforsdike5163
@michaelforsdike5163 2 жыл бұрын
Mate, beltin' video. I'm trying to self teach and this is by far the easiest watch I have had. The online tutorial I am following teaches the basics but nothing in practice. Good to see it in action and so easy to follow. Thank you, very much appreciated!
@tyanthem3966
@tyanthem3966 3 жыл бұрын
Love the simplicity of your teaching style! Also short and sweet!
@zobing224
@zobing224 5 жыл бұрын
Thank you so much for making this video! I am new to design and my final project requires me to to build a 4 Page website. Throughout the semester it was the most difficult for me to understand, your video just made creating the header so simple! I thank you ❤I feel confident completing my final project❤
@JoaX248
@JoaX248 5 жыл бұрын
Are you from la Inter?
@stepgames7698
@stepgames7698 2 жыл бұрын
SAME, I have an assignment to make a website in html but I was struggling to keep up with the class. This saved my life honestly :D
@StrictFit23
@StrictFit23 4 жыл бұрын
Probably the first coding video i've had to slow down lol, great tutorial thank you!
@marchinton
@marchinton 4 жыл бұрын
Try speeding it up, it's more more exciting!
@leesimison4991
@leesimison4991 Жыл бұрын
Cool watching you work man. Showed competence and has given me something to aim towards
@joaoferreira8
@joaoferreira8 4 жыл бұрын
Hail from Brazil! Marc, I did it and got everything right. Didn't understand the CSS thoroughly, missed like about 15%, but I consider it a great victory for a beginner like me! Thank you!
@marchinton
@marchinton 4 жыл бұрын
Great job!
@jamiecase5032
@jamiecase5032 2 жыл бұрын
Helpful for me regarding style sheets. I am really a coder at heart and so help like this with design much appreciated!
@Iamironman-JK
@Iamironman-JK 18 күн бұрын
This was genuinely very helpful, appreciate it!
@DomTricksExtra
@DomTricksExtra 2 жыл бұрын
Very well made tutorial, easy to understand, and it helped out a ton! Thanks Marc! 👏
@notnice8703
@notnice8703 2 жыл бұрын
i love how quick it was! No time was wasted! Thanks :))
@brunokrneta9339
@brunokrneta9339 4 жыл бұрын
Everything I was looking for the whole week. Thanks a lot man!
@marchinton
@marchinton 4 жыл бұрын
Happy to help Bruno!
@BK-it6wg
@BK-it6wg 4 жыл бұрын
I think we are profile pic neighbours gday
@marcincelmer109
@marcincelmer109 4 жыл бұрын
Hi Marc, Great video for begginers! I have added a "hover" selector to your code. ______________________________ .navigation a li:hover{ color: #101010; font-weight: 600; } .navigation a:hover{ background-color: white; } ______________________________ When you drag the mouse over the menu, the background below will turn white and the inscription will change to black. I also removed padding from .navigation a{} to .navigation a li{} so now the menu item turns dark in the right moment. My question is: - The height of the white background-color is 100% of the inline-header, but when i change it in the script for example to 50%, the only thing that happens is the subtitles are moved up. I want the navigation to look more like a smaller rectangle buttons. Can u please help me? :) M.
@arvinosaurus7505
@arvinosaurus7505 4 жыл бұрын
Thank you very much for showing this code! without this I wouldn't make the best header possible
@marchinton
@marchinton 4 жыл бұрын
I'm glad you liked it. Thank you for your comment.
@adamkelly6037
@adamkelly6037 3 жыл бұрын
Thank you so much! You explained better than anyone
@rajeever8584
@rajeever8584 4 жыл бұрын
The table thing you did was very clever. Expects more of the same in future. Well done.
@marchinton
@marchinton 3 жыл бұрын
Thank you Rajeev! More to come soon mate.
@vivekshukla9485
@vivekshukla9485 3 жыл бұрын
That was awesome! Thank you for the help
@naitikkathiriya
@naitikkathiriya 3 жыл бұрын
Ok... It's so smart way to put list style and text decoration none in universal locator✔️✨👍👍👍.. Impressed!
@adymorris7347
@adymorris7347 Ай бұрын
Much obliged, my friend! Simple and easy to follow.
@Taufiq714
@Taufiq714 Жыл бұрын
Very good presentation. Just the right pace. And good step-by-step coding.
@leighauza
@leighauza Жыл бұрын
amazing! thank you so much, your process made it really easy to grasp!
@NickName-ck2hy
@NickName-ck2hy 3 жыл бұрын
Wow thanks that really helped. Just got my motivation up again :)
@leviross6343
@leviross6343 5 жыл бұрын
Great video! Can't wait to see more of your work!
@marchinton
@marchinton 5 жыл бұрын
Thank you Levi! Should be uploading more soon.
@garybaitson
@garybaitson 3 жыл бұрын
loved this video, you make it look so easy
@uiworld3381
@uiworld3381 3 жыл бұрын
See this Header kzbin.info/www/bejne/a52tpJmkYrahsLs
@mechragna
@mechragna 5 жыл бұрын
Thanks for the tutorial, it was very useful. Could you add a video showing how to add to this header nested items in the nav section? thanks.
@rain-2263
@rain-2263 2 жыл бұрын
Thank you so much! It really helpful
@nabilotexd5836
@nabilotexd5836 5 жыл бұрын
This is a very good tutorial thank you, however MY GOD are you fast
@marchinton
@marchinton 5 жыл бұрын
Sorry! I'm from the North of England, talking fast is a curse!
@dhuvarakar3259
@dhuvarakar3259 Жыл бұрын
Thanks for this video 😄.It is very much easy to understand
@huzaifa5361
@huzaifa5361 3 жыл бұрын
Very Thank of you was making a project for my University . This helped ma alot .Thank You
@uiworld3381
@uiworld3381 3 жыл бұрын
See this Header kzbin.info/www/bejne/a52tpJmkYrahsLs
@7amarawa
@7amarawa 4 жыл бұрын
It was really helpful mate, thank you.
@marchinton
@marchinton 4 жыл бұрын
Thanks for your comment Rawa!
@adrianasilveira4561
@adrianasilveira4561 3 жыл бұрын
It helped me so much. Thank you ; )
@fullStackInKannada
@fullStackInKannada 4 жыл бұрын
Thank you so much! It helped me a lot :)
@marchinton
@marchinton 4 жыл бұрын
Happy to help Vivek!
@dramaniaskandarondeog113
@dramaniaskandarondeog113 2 жыл бұрын
Thank you very much I really learned something from you
@anangyoga1381
@anangyoga1381 4 жыл бұрын
I did it and it worked. thank you mate, cheers!
@marchinton
@marchinton 4 жыл бұрын
Glad it helped mate.
@lunasoleil2827
@lunasoleil2827 2 жыл бұрын
Wonderful video. I'm so glad I stumbled here!
@hiwayshoes
@hiwayshoes 5 жыл бұрын
Very helpful! Thank you for the tips!
@marchinton
@marchinton 5 жыл бұрын
Thank you for watching!
@migueltop96
@migueltop96 3 жыл бұрын
a good example, thanks for the class, and... yes, it is the better model for any site
@nathangurr257
@nathangurr257 4 жыл бұрын
You're a gentleman and a scholar. Thank you!
@marchinton
@marchinton 4 жыл бұрын
I see you're also a man of culture..I appreciate it!
@iamsimran2402
@iamsimran2402 2 жыл бұрын
Thanks it helped a lot🙏🏻
@mckenzieturner7588
@mckenzieturner7588 2 жыл бұрын
Ive watched over 10 videos and followed along to all of them; This one was much simpler to make. I was able to do everything that the other ones could but with much less HTML
@Karan-st7wf
@Karan-st7wf 5 жыл бұрын
Thanks So much for the help!
@marchinton
@marchinton 5 жыл бұрын
Thanks for watching Karan!
@tomastrnka4648
@tomastrnka4648 4 жыл бұрын
Thanks man, this is a game changer
@uiworld3381
@uiworld3381 3 жыл бұрын
See this Header kzbin.info/www/bejne/a52tpJmkYrahsLs
@supporttech5879
@supporttech5879 3 жыл бұрын
🔥 You saved my ton of time❤️
@berkalkan3382
@berkalkan3382 3 жыл бұрын
Amazing. Thank you so much!
@yih.7952
@yih.7952 2 жыл бұрын
Hit ther! thank you very much for the video! it helped me a great deal. Do do by any chance have a video in which you explain how to connect the topics (home, about and so on) to other pages? Im a beginner and dont know how to approach this topic! Thanks in advance :)
@josesuch4962
@josesuch4962 4 жыл бұрын
Thanks so much for this video
@abdullahalawad2661
@abdullahalawad2661 3 жыл бұрын
all respect. thank you very much
@jallal2767
@jallal2767 18 күн бұрын
thanks for making this video
@ari.hasanaj
@ari.hasanaj 4 жыл бұрын
Make moreee!! 👍🏻 great video bro
@uiworld3381
@uiworld3381 3 жыл бұрын
See this Header kzbin.info/www/bejne/a52tpJmkYrahsLs
@408sophon
@408sophon Жыл бұрын
this was great ty
@MeCreateAccountxD
@MeCreateAccountxD 4 жыл бұрын
Thank you so much!
@AZGamerz
@AZGamerz 4 жыл бұрын
Thank You soooo Much
@rabiakhan1995
@rabiakhan1995 3 жыл бұрын
I love Your Header very much and I made it 40 times
@facundoarlingtoncodorniu9961
@facundoarlingtoncodorniu9961 3 жыл бұрын
Nice vid dude
@shaikhmoin849
@shaikhmoin849 2 жыл бұрын
Thank you brother ♥️
@murphyscott5264
@murphyscott5264 10 ай бұрын
love you Marc
@JakeLoeppky
@JakeLoeppky 4 жыл бұрын
Would the and tag be more efficient or no? I'm pretty much a n00b at HTML and am trying to learn. Great information here if I can retain it...
@marchinton
@marchinton 4 жыл бұрын
Using those tags are arguably more readable to humans and maybe even to basic web-crawler bots but it makes no real difference in how the site looks or works. These tags (, ) have pre-defined styles that are in the user-agent stylesheet in every browser so if you intend to make use of the pre-defined styles (which I don't), then you should definitely make use of the proper tags. Hope this made sense!
@ianonline
@ianonline 5 жыл бұрын
Great advice Marc, but I think instead of creating the classes .header and .inner_header, why didn’t you use the html tags and ?
@marchinton
@marchinton 5 жыл бұрын
Hey Ian, thank you for your comment. I used classes because I like to keep things uniform within a document. I'd probably move the HTML in to a seperate header.php document and include it on ever page with PHP so having to remember different class names without seeing the code had become a pain for me when creating additional functionality with JavaScript. Remembering if I used the header tag or if I used a class or an ID, etc. So I tend to use classes wherever possible, as long as I'm sure the names won't be useful for something later (.header is typically fine as it's not too similar to anything I'd build within a page so there's little reason to keep .header free). and tags are just as useful, don't get me wrong, but for me personality it saved me time in the future knowing that I used classes where possible, and I tend to use the same class names for the same elements across websites that I build. Also, I read a blog online about the use of bots that crawl your site for malicious purposes and the code that I read searched in particular for tags to find the navigation of your site so if I can get around them AND save me time when I code, that's a big bonus too.
@zikpin
@zikpin 5 жыл бұрын
Thank you so much
@emris0426
@emris0426 Жыл бұрын
This is helpful Thanks
@abdul391_
@abdul391_ 4 жыл бұрын
This video convinced me to SUBSCRIBE to your channel. Thank you for this useful tutorial as I am a beginner. Stay happy stay safe. 😊
@marchinton
@marchinton 4 жыл бұрын
Thanks for the sub! Stay safe and happy yourself Abdul!
@mrdoagainstthemachine7386
@mrdoagainstthemachine7386 3 жыл бұрын
You rock, man!
@marchinton
@marchinton 3 жыл бұрын
no u
@littlebeauty1195
@littlebeauty1195 2 жыл бұрын
thankyou for this video.
@chadisfeir3809
@chadisfeir3809 5 жыл бұрын
Thank you very helpful !!!
@marchinton
@marchinton 5 жыл бұрын
I'm glad you think so Chadi, thanks for your comment!
@kayleigh4161
@kayleigh4161 4 жыл бұрын
This was great thank you so much! I do have a question: when I replace my h1 with an image and give that image the same style as the h1 it somehow aligns to the top of the container. Eventhough it says to align to the middle. Any tips on where I might be going wrong?
@ash-faque
@ash-faque 4 жыл бұрын
Instead of giving same css as h1 give some other style to that logo🥴
@uiworld3381
@uiworld3381 3 жыл бұрын
See this Header kzbin.info/www/bejne/a52tpJmkYrahsLs
@kreateyoutube6840
@kreateyoutube6840 Жыл бұрын
VERY GR8 TUTORIAL
@ferdoushasan3117
@ferdoushasan3117 4 жыл бұрын
Thanks for your video... It's very helpful video for beginners like me...❤️❤️❤️
@marchinton
@marchinton 4 жыл бұрын
My pleasure 😊
@calebimoyera197
@calebimoyera197 4 ай бұрын
very helpful thank you
@pettyjames7
@pettyjames7 5 жыл бұрын
Why not just use the element and element?
@marchinton
@marchinton 4 жыл бұрын
The truth for me is consistency. You get the same result either way and for me it's easier and faster to type out a div with the class of header than it is to type a header. It's completely down to the way you learn, there's no right or wrong answer here, that way is right too!
@sidrockx95
@sidrockx95 4 жыл бұрын
@@marchinton LOL. You are also compromising on semantics by using div instead of header!
@larissavilela9866
@larissavilela9866 3 жыл бұрын
realmente muito bom, obrigado!
@abi-sk2cb
@abi-sk2cb 2 жыл бұрын
tysm for this
@ObsceneHero
@ObsceneHero 8 ай бұрын
that was excellent 🙂
@mehmettoktas5430
@mehmettoktas5430 3 жыл бұрын
thanks for information from Turkey :)
@uiworld3381
@uiworld3381 3 жыл бұрын
See this Header kzbin.info/www/bejne/a52tpJmkYrahsLs
@saladcream1884
@saladcream1884 Жыл бұрын
Quality Video, TY
@Nicklefritz
@Nicklefritz 3 жыл бұрын
Question: I've seen people code navigation bars with unordered lists (as you have), but I've also seen people just use the navigation tags: ... . Which way is correct? Or which way is better? Or do they both have their pros and cons?
@marinavillamizar7682
@marinavillamizar7682 2 жыл бұрын
Nav ul li is corret form man
@anandathawale609
@anandathawale609 3 жыл бұрын
Thank man
@seyahatdeneyimleri
@seyahatdeneyimleri 4 жыл бұрын
thanks dude
@kabiandavidson9835
@kabiandavidson9835 3 жыл бұрын
Awesome Video!
@supersonic837
@supersonic837 2 жыл бұрын
Great video!! just one thing, how do I have the ul in the center of navbar instead of float right?
@jakesteck6032
@jakesteck6032 3 жыл бұрын
HOLY THANK YOU!!!
@GlobalTVArm
@GlobalTVArm 4 жыл бұрын
thank you bro
@marchinton
@marchinton 4 жыл бұрын
You're welcome! Thanks for watching.
@krzysztofs6149
@krzysztofs6149 4 жыл бұрын
Well explained! Thanks :D
@marchinton
@marchinton 4 жыл бұрын
Glad you liked it!
@1zeph
@1zeph 3 жыл бұрын
Hello, just having a problem on navigation, mine was on under the header and innerheader, and idk why.
@kritikawagh5732
@kritikawagh5732 2 жыл бұрын
Thank u sir ❣️ can u make a video on how to create a responsive website with HTML and CSS....
@rajeshkumarbagde6732
@rajeshkumarbagde6732 Жыл бұрын
Very helpful
@johnb7620
@johnb7620 4 жыл бұрын
Thanks dude! I'm just learning HTML and CSS and i was wondering if I'm the only one still interested in this especially nowadays when you can easily just use a website builder.
@naixnas7555
@naixnas7555 4 жыл бұрын
Html and css aren't only used to create websites, I think it's still a very good skill to have
@naixnas7555
@naixnas7555 4 жыл бұрын
What I mean is, you can use them to create graphics for a desktop app with electron for example
@johnb7620
@johnb7620 4 жыл бұрын
@@naixnas7555 i did not know that. Thanks!
@marchinton
@marchinton 4 жыл бұрын
This thread is so true! Such a great skill to have.
@aronm782
@aronm782 5 жыл бұрын
Thank you!
@marchinton
@marchinton 5 жыл бұрын
I appreciate your comment Clayrin, thanks for watching.
@ronaldello97
@ronaldello97 4 жыл бұрын
Thank you so much for the video, but how would you put a login form in the same header?
@Tech-Dev
@Tech-Dev Жыл бұрын
Thanks Marc for this tutorial.. what do you think using flex to build header and footer?
@dkr97
@dkr97 4 жыл бұрын
Thanks for the video buddy
@marchinton
@marchinton 4 жыл бұрын
Anytime, mate!
@AneesKhan-uz4mz
@AneesKhan-uz4mz 5 жыл бұрын
great bro really great, well explained
@marchinton
@marchinton 5 жыл бұрын
Thanks Anees!
@AneesKhan-uz4mz
@AneesKhan-uz4mz 5 жыл бұрын
@@marchinton bro can i request a tutorial?
@marchinton
@marchinton 5 жыл бұрын
@@AneesKhan-uz4mz Absolutely, what are you thinking?
@AneesKhan-uz4mz
@AneesKhan-uz4mz 5 жыл бұрын
@@marchinton please head over to awardspace sign-up page (google it) they using really cool real-time validation, u just check it out yourself by filling the form, can you please make a tutorial on how to make that type of real-time validation! Thanks!
@marchinton
@marchinton 5 жыл бұрын
@@AneesKhan-uz4mz I've actually used AwardSpace before funnily enough. I revisited just now to see the form that you talked about. I think that a video on how to validate forms in real time would be useful to a lot of others too. I'll see what I can do.
@ayannazimmermon5506
@ayannazimmermon5506 Жыл бұрын
Thank you 🎉 I’m a beginner
@rajeevpatel3732
@rajeevpatel3732 3 жыл бұрын
Attractive header s🔥🔥👍👍
@Max-xp3tf
@Max-xp3tf 4 жыл бұрын
Hi, for the space between the logo and the navigation, what about using "display: flex" with "justify-content: space-between" instead of Float left and right ? Thanks!
@marchinton
@marchinton 4 жыл бұрын
The float property is completely fine and safe to use, as long as your parent container has overflow: hidden; This property means that nothing from outside the parent container can be affected by what's inside the div. I hope this helps Max. Marc
@mrbenny3757
@mrbenny3757 4 жыл бұрын
Max ok
@pedroheck3667
@pedroheck3667 3 жыл бұрын
How would you adjust this by putting an actual image where the written logo is? I've tried it but any changes I do to the image just seems to have no effect...
@uiworld3381
@uiworld3381 3 жыл бұрын
See this Header kzbin.info/www/bejne/a52tpJmkYrahsLs
@hosseinzandiyeh1943
@hosseinzandiyeh1943 2 жыл бұрын
Perfect
@ashokrawat3246
@ashokrawat3246 3 жыл бұрын
Wow so easy 😍
@BlaZackk
@BlaZackk 2 жыл бұрын
thx a lot
@zawwarnaseer9520
@zawwarnaseer9520 5 жыл бұрын
best tutorial ive seen
@marchinton
@marchinton 5 жыл бұрын
Great to hear Zawwar, thank you!
@DefactoMediaSolutions
@DefactoMediaSolutions 4 жыл бұрын
ty for the help m8
@marchinton
@marchinton 4 жыл бұрын
Anytime bud.
The BEST Way to Build a Footer! [HTML,CSS]
14:54
Marc Hinton
Рет қаралды 71 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 25 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 9 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 25 МЛН
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 914 М.
HTML уроки. HTML теги. Тег DIV и другие. Уроки HTML CSS JS. Урок №2
6:18
CSS Anchor Is The Best New CSS Feature Since Flexbox
15:39
Web Dev Simplified
Рет қаралды 358 М.
Responsive Navigation Bar Tutorial | HTML CSS JAVASCRIPT
35:05
developedbyed
Рет қаралды 1,4 МЛН
Learn HTML in 1 hour 🌎
1:00:00
Bro Code
Рет қаралды 1,9 МЛН
How to create a CSS navigation bar in 6 minutes! 🧭
6:28
Bro Code
Рет қаралды 231 М.
Learn HTML headers & footers in 5 minutes! 🤯
5:48
Bro Code
Рет қаралды 38 М.
Navbar CSS Tutorial: 3 Ways to Create a Navigation Bar with Flexbox
15:08
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 438 М.
Harley Quinn made everyone disappear#joker #shorts
0:54
Untitled Joker
Рет қаралды 3,7 МЛН
Щенок Нашёл Маму 🥹❤️
0:31
ДоброShorts
Рет қаралды 6 МЛН
Страшно, когда ругается мама😰
0:10
Лиза Вертинская
Рет қаралды 1,8 МЛН
Когда все обошлось 😮‍💨 | Королева Двора
0:16
Аминка Витаминка
Рет қаралды 2,3 МЛН
Что произошло в ресторане!
0:16
Victoria Portfolio
Рет қаралды 8 МЛН