Basic Web Page Construction
Computers & Technology → Internet
- Author Christopher Armitage-White
- Published November 18, 2010
- Word count 874
Web pages are built primarily by writing instructions in HyperText Markup Language (HTML). HTML is a simple programming language; its main aim is to tell a Web browser, such as Microsoft Internet Explorer, how a Web page should look on-screen.
HTML is composed of elements. A paragraph or an image, for example, is an element. Elements, in turn, are composed of tags, attributes, and sometimes content:
Tags: A tag is a simple descriptive term that tells a Web browser what element it’s dealing with. The beginning of each element is shown by the name of that element within angle braces; this is called a start tag. The start tag for a paragraph, for example, is ; for an image, it’s . The end of an element is shown by the end tag, which is just like the start tag except that the end tag has a slash before the element’s name. The end tag for a paragraph, therefore, is
. Some elements, such as IMG, don’t have an end tag.
Attributes: An attribute is a modification of the basic element. You specify the width and height of an image, for example, by adding attributes to the tag, as in the following example:
Content: Content is anything that goes between the start tag and the end tag, as in the following example: This is the content of this paragraph.
The tags and attributes that you need most often are covered in more depth in the rest of this chapter, but the basics I just covered help you to understand the choices that you face among different Web-page-building programs.
These days, everyone wants to jump on the Web bandwagon, and it seems like every program under the sun can be used to make Web pages. You can use word processors such as Microsoft Word and dedicated page-creation software such as Macromedia Dreamweaver, Adobe GoLive, or Microsoft FrontPage. Every program has its quirks, and not all of them produce high quality, clean HTML code.
Leaving out the Johnny-come-latelies, such as word processors that tack HTML onto their older functions, two basic kinds of page-building programs are available:
Text editor: Kind of like a word processor without the frills
.
WYSIWYG (What You See Is What You Get) program: Lets you develop the Web page visually instead of by working directly with the code. The main advantage of this approach is that what you see on the screen as you’re working is the same as you would see if viewing the Web page in a browser.
Proponents of pure text editors and WYSIWYG enthusiasts can get about as raucous defending their favourite approaches as a bunch of football fans can get about the Premier League. The plain fact, though, is that sometimes you’ll want to use one type of editor and sometimes you’ll prefer the other kind of program. The following sections describe the differences between these two types of programs.
Text editors
HTML files are simple text files. They contain nothing but the plain-old letters, symbols, and numbers that you find on your keyboard. HTML is so simple, in fact, that you don’t need any kind of specialized Web-page-building program. You can create Web pages perfectly well by using nothing but Windows Notepad - assuming that you have enough knowledge of the language that you can type it in without making any mistakes.
You don’t have to settle for total simplicity, however, to get the raw power of working directly with the HTML source code. A number of high-powered text editors are designed specifically for creating HTML code. One of the most popular of the major computer magazines, such as PC Magazine, which constantly road-test all the competitors, is Macromedia HomeSite.
At its most basic, you can use HomeSite as a plain-old text editor, but it also has some shining qualities that can make your Web programming life a lot easier. For starters, the text is colour-coded, which means that elements, attributes, and content appear in different colours, making the HTML code easier to read and understand. HomeSite also comes with a host of helpful tools built into it, such as context-sensitive lists of the attributes that you can use with the tags that you type.
WYSIWYG programs
WYSIWYG programs are easy for novices to use in the early stages of Web site creation, but they can quickly prove less than satisfactory. The reason for both factors is the same: The program makes a bunch of choices for you. Although this feature may seem like a comfort at first, it quickly becomes a limitation. If you go for a WYSIWYG program, make sure that it’s sophisticated enough that you can still use it as your skills advance.
Most WYSIWYG programs have at least some degree of depth beneath their surface simplicity. Both GoLive and Dreamweaver, for example, let you set the attributes for every element, in case you don’t like the default choices.
Dreamweaver gives you the best of both worlds because it comes with (and interfaces directly with) HomeSite+ (or BBEdit for the Mac version). That means that you can enjoy both the quickness of WYSIWYG creation and the total control of text editing in the same page-creation session.
I own a Web Design and Business Solutions company called Acedia. For more information on Web Design and Business Solutions, please visit http://www.acedia.co.uk
Article source: https://articlebiz.comRate article
Article comments
There are no posted comments.
Related articles
- What is CCTLD?
- Gulf Website Hub Reveals Fresh Digital Solutions to Enhance Dubai's Expanding Market.
- Embrace Multi Graphics Inc. Expands Services to Meet Growing Demand in Digital Marketing, Design, and Printing
- Website Development Trends in 2025
- Viewing Instagram Stories Without an Account: Imginn Viewer Insights
- How to Find, Use, and Manage BitLocker Recovery Keys on Windows 10/11
- Building a Professional Website on a Budget: Using Free Tools like WordPress and AI
- Ava Labs CEO On Why You Shouldn't Ignore Red Flags In The Industry
- Cyberbullying: Empowering Families to Safeguard Their Kids
- 10 Common Online Scams to Avoid: Protecting Your Identity and Finances
- Spring Break and Staying Secure Online: An Internet Safety Guide for College Students
- Unveiling the Future: The 10 Revolutionary Trends Shaping Small E-Commerce Businesses in 2024
- Unlocking Online Content with YouTube Video Downloaders
- Unleashing the Potential of Online Earning: A Comprehensive Guide
- Navigating Success in the Digital Realm: Unveiling the Power of Digital Marketing
- How AI Will Affect the Future of Search
- Maximizing Business Efficiency: The Strategic Role of Business Intelligence with DataInseyets
- Cyber Resilience in the Age of AI
- Harnessing the Power of AI & Blockchain for Data Security and Transparency
- AI Ignites 6G Advancements in Wireless Technology
- How AI is Revolutionizing Content Writing
- What You Need to Know About Writing Prompts
- The Remarkable Ways to Use the AI-Powered Chatbot
- Where Will AI Take Us in 2024?
- AI Written Content Creation Trends for 2024
- Will AI-Linked Cryptocurrency Sector Thrive in 2024?
- Is AI Regulation vs AI Deregulation a Real Concern?
- Prompt Engineering: A Beginner's Guide to Prompt Engineering
- Balancing Innovation and Regulation of AI in the Future
- Crafting AI Short-Form Content: The Future of Digital Marketing