Sometimes when you have a lot of nested tags, it's hard to keep track, so you have to format your code with spacing, as shown. In this case, we would say that the contains the. So, if you look at our example, you can also put tags inside other tags (like we did with the tags inside the tags). Here's some lists of tags if you really care to see all of them at this point: There's tons of tags out there, some that you may never use. Tags organize your page and tell the browser what your page consists of. The text inside an element, in the title case, My Website, is called the content of an element. The opening and closing tags together are an element (which also includes everything written in it). įor example, is one tag and the closing tag for it is, same with and and and, and so on. All tags (with just a few exceptions that we'll talk about later) have a matching closing tag, which has the same name as the opening tag, except that it contains / after the first. HTML, short for HyperText Markup Language, consists of these things called tags, which are words written between characters, like. If you were to open the file in your favorite browser (which you can do, go ahead), you'll see a plain webpage with the title "My Website" and the words, "Hello, World!" written on the page. You can open it up in the 1 - Structure folder in the file part1.html. Here is a barebones HTML page, about as simple as you can get. There's a bunch of others listed here, I just listed the ones I've used and liked! HTML Tag Structure Code highlighting is in it, and nothing else too fancy, which is what I like about it. Notepad++ - This is just one step up from Notepad.It is meant for larger projects, but it's nice to not have to download anything! Glitch - This is another in-browser code editor.CodePen Projects - This is an in-browser code editor, so you can code directly within the web browser, no downloads required.Sublime Text - This is a pretty popular option.It's open source and has TONS of extensions available. Visual Studio Code - This is what I typically use.But, if you want to be a purist, this'll work just fine. It's totally okay if you want to use this, but I recommend one of the editors below just so you can see code highlighting (which will help you out later on). Notepad/TextEdit (that's right, the stupid thing that comes on your computer) - This is about as basic as you can get.So the first thing you'll need is an editor to edit your jazz.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |