Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
This course introduces web designers to the nuts and bolts of HTML (HyperText Markup Language), the programming language used to create web pages. Author Bill Weinman explains what HTML is, how it's structured, and presents the major tags and features of the language. Discover how to format text and lists, add images and flow text around them, link to other pages and sites, embed audio and video, and create HTML forms. Additional tutorials cover the new elements in HTML5, the latest version of HTML, and prepare you to start working with Cascading Style Sheets (CSS).
Phrase elements are designed to mark up parts of text according to their usage. Your browsers will render them in a particular way, but that's not really the point. Including your text with phrase elements helps the browser know more about the meaning of the markup. So we can do something intelligent, even in cases where it's not being displayed on the screen. Let's make a working copy of pharse.html and I'll rename this phrase-working.html. I am going to open that in my text editor. I'll just scroll down here for folks who are typing along at home.
And let's go ahead and open this in the browser. I'm just going to right-click on this and open in Firefox, and there we are. So you see we have a number phrase elements here, is for Emphasize and you see that it's rendered like this in the browser. Strong is rendered like this in the browser, for Define a term is also in italics in this browser, and the way that these are displayed in this browser they may be different in a different browser. And of course, the actual presentation, you can modify with CSS, and so you can make Emphasize bold and red if you wanted to, or make Strong larger if you wanted to.
These are just the way it is with this browser displays them by default.
is for Code Listings. is for Sample Text.
You'll notice in this browser that that's also in fixed space font. is for
Keyboard, and is for Variables.
So these phrase elements are designed to mark up parts of text according to their usage.
Remember, you can always use CSS to style these according to your preferences.
Use this markup elements to convey the meaning of the markup, rather than the presentation.
Find answers to the most frequently asked questions about HTML Essential Training.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.