Write HTML Using Notepad or TextEdit Web pages can be created and modified by using professional HTML editors. However, for learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML. Follow the steps below to create your first web page with Notepad or TextEdit. Step 1: Open Notepad (PC) Windows 8 or later: Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad . Windows 7 or earlier: Open Start > Programs > Accessories > Notepad
HTML Basic Examples ❮ Previous Next ❯ Don't worry if these examples use tags you have not learned. You will learn about them in the next chapters. HTML Documents All HTML documents must start with a document type declaration: <!DOCTYPE html> . The HTML document itself begins with <html> and ends with </html> . The visible part of the HTML document is between <body> and </body>
HTML Elements An HTML element usually consists of a start tag and an end tag, with the content inserted in between: < tagname > Content goes here... < /tagname > The HTML element is everything from the start tag to the end tag: < p > My first paragraph. < /p >
Comentarios
Publicar un comentario